#8F6CEE#8F6CEE

#8F6CEE is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.8% C 0.188 H 292.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8F6CEE
RGBrgb(143, 108, 238)
HSLhsl(256, 79%, 68%)
HSVhsv(256, 55%, 93%)
CMYKcmyk(39.9%, 54.6%, 0%, 6.7%)
CIE-LABlab(54.80, 43.09, -61.05)
CIE-LCHlch(54.80, 74.72, 305.22°)
OKLaboklab(62.83% 0.0721 -0.1735)
OKLCHoklch(62.83% 0.188 292.6)
XYZxyz(32.1187, 22.7370, 83.5688)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F6CEE #CBEE6C
analogous
#6C8AEE #8F6CEE #D06CEE
triadic
#8F6CEE #EE8F6C #6CEE8F
tetradic
#8F6CEE #EE6C8A #CBEE6C #6CEED0
square
#8F6CEE #EE6C8A #CBEE6C #6CEED0
split-complementary
#8F6CEE #EED06C #8AEE6C
monochromatic
#4717C8 #6535E8 #8F6CEE #B9A3F4 #E3DAFB

Accessibility & contrast

On white

3.79
#8F6CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8F6CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F6CEE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F6CEE#FFFFFF#000000##000000
##8F6CEE1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F2
Deuteranopia (green-blind)
#3581EB
Tritanopia (blue-blind)
#7688A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f6cee;
/* rgb */ color: rgb(143, 108, 238);
/* oklch */ color: oklch(62.8% 0.188 292.6);
Tailwind
colors: {
  custom: {
    50: '#b597f4',
    500: '#8f6cee',
    950: '#000000',
  },
}
SCSS
$custom: #8f6cee;
$custom-light: #b597f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f6cee",
  "rgb": {
    "r": 143,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 256.154,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62826,
    "c": 0.18785,
    "h": 292.6
  },
  "luminance": 0.22738
}

Semantic roles & 50–950 ramp

primary
#8F6CEE
secondary
#E4EFC7
accent
#DC0AA3
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #8F6CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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