#8F5FE9#8F5FE9

#8F5FE9 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.5% C 0.200 H 295.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8F5FE9
RGBrgb(143, 95, 233)
HSLhsl(261, 76%, 64%)
HSVhsv(261, 59%, 91%)
CMYKcmyk(38.6%, 59.2%, 0%, 8.6%)
CIE-LABlab(51.73, 48.95, -63.19)
CIE-LCHlch(51.73, 79.93, 307.77°)
OKLaboklab(60.47% 0.0872 -0.1798)
OKLCHoklch(60.47% 0.2 295.9)
XYZxyz(30.1241, 19.9067, 79.3302)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FE9 #B9E95F
analogous
#5F74E9 #8F5FE9 #D45FE9
triadic
#8F5FE9 #E98F5F #5FE98F
tetradic
#8F5FE9 #E95F74 #B9E95F #5FE9D4
square
#8F5FE9 #E95F74 #B9E95F #5FE9D4
split-complementary
#8F5FE9 #E9D45F #74E95F
monochromatic
#4F19B5 #6929E2 #8F5FE9 #B595F0 #DACBF8

Accessibility & contrast

On white

4.22
#8F5FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8F5FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FE9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FE9#FFFFFF#000000##000000
##8F5FE91.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#1F79E6
Tritanopia (blue-blind)
#797D9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f5fe9;
/* rgb */ color: rgb(143, 95, 233);
/* oklch */ color: oklch(60.5% 0.200 295.9);
Tailwind
colors: {
  custom: {
    50: '#b58ef1',
    500: '#8f5fe9',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fe9;
$custom-light: #b58ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fe9",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 260.87,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.19982,
    "h": 295.9
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

primary
#8F5FE9
secondary
#D9EABA
accent
#D80D92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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