#8F6DEC#8F6DEC

#8F6DEC is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.9% C 0.184 H 292.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8F6DEC
RGBrgb(143, 109, 236)
HSLhsl(256, 77%, 68%)
HSVhsv(256, 54%, 93%)
CMYKcmyk(39.4%, 53.8%, 0%, 7.5%)
CIE-LABlab(54.90, 41.99, -59.77)
CIE-LCHlch(54.90, 73.05, 305.09°)
OKLaboklab(62.86% 0.0709 -0.1697)
OKLCHoklch(62.86% 0.184 292.7)
XYZxyz(31.9326, 22.8322, 82.0652)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F6DEC #CAEC6D
analogous
#6D8AEC #8F6DEC #CF6DEC
triadic
#8F6DEC #EC8F6D #6DEC8F
tetradic
#8F6DEC #EC6D8A #CAEC6D #6DECCF
square
#8F6DEC #EC6D8A #CAEC6D #6DECCF
split-complementary
#8F6DEC #ECCF6D #8AEC6D
monochromatic
#481AC5 #6537E5 #8F6DEC #B9A3F3 #E2D9FA

Accessibility & contrast

On white

3.77
#8F6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8F6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F6DEC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F6DEC#FFFFFF#000000##000000
##8F6DEC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185F0
Deuteranopia (green-blind)
#3981E9
Tritanopia (blue-blind)
#7788A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f6dec;
/* rgb */ color: rgb(143, 109, 236);
/* oklch */ color: oklch(62.9% 0.184 292.7);
Tailwind
colors: {
  custom: {
    50: '#b598f3',
    500: '#8f6dec',
    950: '#000000',
  },
}
SCSS
$custom: #8f6dec;
$custom-light: #b598f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f6dec",
  "rgb": {
    "r": 143,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 256.063,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6286,
    "c": 0.18391,
    "h": 292.7
  },
  "luminance": 0.22833
}

Semantic roles & 50–950 ramp

primary
#8F6DEC
secondary
#E4EEC7
accent
#D90CA2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #8F6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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