#8F5EE9#8F5EE9

#8F5EE9 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.201 H 296.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8F5EE9
RGBrgb(143, 94, 233)
HSLhsl(261, 76%, 64%)
HSVhsv(261, 60%, 91%)
CMYKcmyk(38.6%, 59.7%, 0%, 8.6%)
CIE-LABlab(51.53, 49.49, -63.52)
CIE-LCHlch(51.53, 80.52, 307.93°)
OKLaboklab(60.32% 0.0884 -0.1807)
OKLCHoklch(60.32% 0.201 296.1)
XYZxyz(30.0346, 19.7277, 79.3004)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EE9 #B8E95E
analogous
#5E73E9 #8F5EE9 #D55EE9
triadic
#8F5EE9 #E98F5E #5EE98F
tetradic
#8F5EE9 #E95E73 #B8E95E #5EE9D5
square
#8F5EE9 #E95E73 #B8E95E #5EE9D5
split-complementary
#8F5EE9 #E9D55E #73E95E
monochromatic
#4F19B4 #6A28E2 #8F5EE9 #B494F0 #DACAF8

Accessibility & contrast

On white

4.25
#8F5EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8F5EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EE9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EE9#FFFFFF#000000##000000
##8F5EE91.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f5ee9;
/* rgb */ color: rgb(143, 94, 233);
/* oklch */ color: oklch(60.3% 0.201 296.1);
Tailwind
colors: {
  custom: {
    50: '#b58ef1',
    500: '#8f5ee9',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ee9;
$custom-light: #b58ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ee9",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 233
  },
  "hsl": {
    "h": 261.151,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60321,
    "c": 0.20118,
    "h": 296.1
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

primary
#8F5EE9
secondary
#D9EAB9
accent
#D80D91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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