#8F5FEA#8F5FEA

#8F5FEA is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.5% C 0.201 H 295.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8F5FEA
RGBrgb(143, 95, 234)
HSLhsl(261, 77%, 65%)
HSVhsv(261, 59%, 92%)
CMYKcmyk(38.9%, 59.4%, 0%, 8.2%)
CIE-LABlab(51.80, 49.21, -63.64)
CIE-LCHlch(51.80, 80.45, 307.71°)
OKLaboklab(60.54% 0.0872 -0.1811)
OKLCHoklch(60.54% 0.201 295.7)
XYZxyz(30.2673, 19.9640, 80.0847)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FEA #BAEA5F
analogous
#5F75EA #8F5FEA #D45FEA
triadic
#8F5FEA #EA8F5F #5FEA8F
tetradic
#8F5FEA #EA5F75 #BAEA5F #5FEAD4
square
#8F5FEA #EA5F75 #BAEA5F #5FEAD4
split-complementary
#8F5FEA #EAD45F #75EA5F
monochromatic
#4F18B7 #6929E3 #8F5FEA #B595F1 #DBCBF8

Accessibility & contrast

On white

4.21
#8F5FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8F5FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FEA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FEA#FFFFFF#000000##000000
##8F5FEA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#1C79E7
Tritanopia (blue-blind)
#787D9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f5fea;
/* rgb */ color: rgb(143, 95, 234);
/* oklch */ color: oklch(60.5% 0.201 295.7);
Tailwind
colors: {
  custom: {
    50: '#b58ef1',
    500: '#8f5fea',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fea;
$custom-light: #b58ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fea",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 260.719,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60538,
    "c": 0.201,
    "h": 295.7
  },
  "luminance": 0.19965
}

Semantic roles & 50–950 ramp

primary
#8F5FEA
secondary
#DAEABA
accent
#D90C92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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