#8F5CEE#8F5CEE

#8F5CEE is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.210 H 295.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F5CEE
RGBrgb(143, 92, 238)
HSLhsl(261, 81%, 65%)
HSVhsv(261, 61%, 93%)
CMYKcmyk(39.9%, 61.3%, 0%, 6.7%)
CIE-LABlab(51.46, 51.86, -66.43)
CIE-LCHlch(51.46, 84.28, 307.98°)
OKLaboklab(60.38% 0.0904 -0.1893)
OKLCHoklch(60.38% 0.21 295.5)
XYZxyz(30.5834, 19.6663, 83.0570)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CEE #BBEE5C
analogous
#5C72EE #8F5CEE #D85CEE
triadic
#8F5CEE #EE8F5C #5CEE8F
tetradic
#8F5CEE #EE5C72 #BBEE5C #5CEED8
square
#8F5CEE #EE5C72 #BBEE5C #5CEED8
split-complementary
#8F5CEE #EED85C #72EE5C
monochromatic
#4E14BC #6925E8 #8F5CEE #B593F4 #DBCBFA

Accessibility & contrast

On white

4.26
#8F5CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8F5CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CEE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CEE#FFFFFF#000000##000000
##8F5CEE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#777D9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f5cee;
/* rgb */ color: rgb(143, 92, 238);
/* oklch */ color: oklch(60.4% 0.210 295.5);
Tailwind
colors: {
  custom: {
    50: '#b68cf4',
    500: '#8f5cee',
    950: '#000000',
  },
}
SCSS
$custom: #8f5cee;
$custom-light: #b68cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5cee",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 260.959,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60375,
    "c": 0.20977,
    "h": 295.5
  },
  "luminance": 0.19667
}

Semantic roles & 50–950 ramp

primary
#8F5CEE
secondary
#DAECBA
accent
#DD0893
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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