#8F4CE5#8F4CE5

#8F4CE5 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.220 H 299.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8F4CE5
RGBrgb(143, 76, 229)
HSLhsl(266, 75%, 60%)
HSVhsv(266, 67%, 90%)
CMYKcmyk(37.6%, 66.8%, 0%, 10.2%)
CIE-LABlab(47.84, 57.74, -67.23)
CIE-LCHlch(47.84, 88.63, 310.66°)
OKLaboklab(57.56% 0.1083 -0.1916)
OKLCHoklch(57.56% 0.22 299.5)
XYZxyz(28.0515, 16.6654, 75.8524)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CE5 #A2E54C
analogous
#4C55E5 #8F4CE5 #DC4CE5
triadic
#8F4CE5 #E58F4C #4CE58F
tetradic
#8F4CE5 #E54C55 #A2E54C #4CE5DC
square
#8F4CE5 #E54C55 #A2E54C #4CE5DC
split-complementary
#8F4CE5 #E5DC4C #55E54C
monochromatic
#53179F #6F1FD5 #8F4CE5 #B081ED #D2B7F5

Accessibility & contrast

On white

4.85
#8F4CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8F4CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CE5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CE5#FFFFFF#000000##FFFFFF
##8F4CE51.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#7B7092
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f4ce5;
/* rgb */ color: rgb(143, 76, 229);
/* oklch */ color: oklch(57.6% 0.220 299.5);
Tailwind
colors: {
  custom: {
    50: '#b682ee',
    500: '#8f4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ce5;
$custom-light: #b682ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ce5",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 266.275,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57564,
    "c": 0.22009,
    "h": 299.5
  },
  "luminance": 0.16666
}

Semantic roles & 50–950 ramp

primary
#8F4CE5
secondary
#CAE4A9
accent
#F1379F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4CE5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8F4CE5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva