#8F5DEE#8F5DEE

#8F5DEE is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.208 H 295.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8F5DEE
RGBrgb(143, 93, 238)
HSLhsl(261, 81%, 65%)
HSVhsv(261, 61%, 93%)
CMYKcmyk(39.9%, 60.9%, 0%, 6.7%)
CIE-LABlab(51.66, 51.33, -66.11)
CIE-LCHlch(51.66, 83.70, 307.82°)
OKLaboklab(60.52% 0.0893 -0.1884)
OKLCHoklch(60.52% 0.208 295.4)
XYZxyz(30.6706, 19.8407, 83.0861)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DEE #BCEE5D
analogous
#5D73EE #8F5DEE #D85DEE
triadic
#8F5DEE #EE8F5D #5DEE8F
tetradic
#8F5DEE #EE5D73 #BCEE5D #5DEED8
square
#8F5DEE #EE5D73 #BCEE5D #5DEED8
split-complementary
#8F5DEE #EED85D #73EE5D
monochromatic
#4E14BD #6926E8 #8F5DEE #B594F4 #DCCCFA

Accessibility & contrast

On white

4.23
#8F5DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8F5DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5DEE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DEE#FFFFFF#000000##000000
##8F5DEE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f5dee;
/* rgb */ color: rgb(143, 93, 238);
/* oklch */ color: oklch(60.5% 0.208 295.4);
Tailwind
colors: {
  custom: {
    50: '#b68df4',
    500: '#8f5dee',
    950: '#000000',
  },
}
SCSS
$custom: #8f5dee;
$custom-light: #b68df4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5dee",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 260.69,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6052,
    "c": 0.20844,
    "h": 295.4
  },
  "luminance": 0.19841
}

Semantic roles & 50–950 ramp

primary
#8F5DEE
secondary
#DBECBB
accent
#DD0894
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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