#8F5DE9#8F5DE9

#8F5DE9 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.2% C 0.203 H 296.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8F5DE9
RGBrgb(143, 93, 233)
HSLhsl(261, 76%, 64%)
HSVhsv(261, 60%, 91%)
CMYKcmyk(38.6%, 60.1%, 0%, 8.6%)
CIE-LABlab(51.33, 50.03, -63.84)
CIE-LCHlch(51.33, 81.11, 308.09°)
OKLaboklab(60.17% 0.0895 -0.1817)
OKLCHoklch(60.17% 0.203 296.2)
XYZxyz(29.9462, 19.5510, 79.2710)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DE9 #B7E95D
analogous
#5D71E9 #8F5DE9 #D55DE9
triadic
#8F5DE9 #E98F5D #5DE98F
tetradic
#8F5DE9 #E95D71 #B7E95D #5DE9D5
square
#8F5DE9 #E95D71 #B7E95D #5DE9D5
split-complementary
#8F5DE9 #E9D55D #71E95D
monochromatic
#5018B3 #6A27E2 #8F5DE9 #B493F0 #DAC9F8

Accessibility & contrast

On white

4.28
#8F5DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8F5DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5DE9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DE9#FFFFFF#000000##000000
##8F5DE91.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#1878E6
Tritanopia (blue-blind)
#797C9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f5de9;
/* rgb */ color: rgb(143, 93, 233);
/* oklch */ color: oklch(60.2% 0.203 296.2);
Tailwind
colors: {
  custom: {
    50: '#b58df1',
    500: '#8f5de9',
    950: '#000000',
  },
}
SCSS
$custom: #8f5de9;
$custom-light: #b58df1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5de9",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 261.429,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60174,
    "c": 0.20255,
    "h": 296.2
  },
  "luminance": 0.19552
}

Semantic roles & 50–950 ramp

primary
#8F5DE9
secondary
#D8E9B8
accent
#D80D90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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