#8F5EEA#8F5EEA

#8F5EEA is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.4% C 0.202 H 295.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8F5EEA
RGBrgb(143, 94, 234)
HSLhsl(261, 77%, 64%)
HSVhsv(261, 60%, 92%)
CMYKcmyk(38.9%, 59.8%, 0%, 8.2%)
CIE-LABlab(51.59, 49.75, -63.97)
CIE-LCHlch(51.59, 81.04, 307.87°)
OKLaboklab(60.39% 0.0883 -0.1821)
OKLCHoklch(60.39% 0.202 295.9)
XYZxyz(30.1778, 19.7850, 80.0549)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EEA #B9EA5E
analogous
#5E73EA #8F5EEA #D55EEA
triadic
#8F5EEA #EA8F5E #5EEA8F
tetradic
#8F5EEA #EA5E73 #B9EA5E #5EEAD5
square
#8F5EEA #EA5E73 #B9EA5E #5EEAD5
split-complementary
#8F5EEA #EAD55E #73EA5E
monochromatic
#4F18B6 #6928E3 #8F5EEA #B594F1 #DACAF8

Accessibility & contrast

On white

4.24
#8F5EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8F5EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EEA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EEA#FFFFFF#000000##000000
##8F5EEA1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#1979E7
Tritanopia (blue-blind)
#787D9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f5eea;
/* rgb */ color: rgb(143, 94, 234);
/* oklch */ color: oklch(60.4% 0.202 295.9);
Tailwind
colors: {
  custom: {
    50: '#b58ef2',
    500: '#8f5eea',
    950: '#000000',
  },
}
SCSS
$custom: #8f5eea;
$custom-light: #b58ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5eea",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 261,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6039,
    "c": 0.20237,
    "h": 295.9
  },
  "luminance": 0.19786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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