#8F57EA#8F57EA

#8F57EA is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.212 H 297.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8F57EA
RGBrgb(143, 87, 234)
HSLhsl(263, 78%, 63%)
HSVhsv(263, 63%, 92%)
CMYKcmyk(38.9%, 62.8%, 0%, 8.2%)
CIE-LABlab(50.21, 53.46, -66.21)
CIE-LCHlch(50.21, 85.09, 308.92°)
OKLaboklab(59.39% 0.0961 -0.1886)
OKLCHoklch(59.39% 0.212 297)
XYZxyz(29.5833, 18.5960, 79.8567)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57EA #B2EA57
analogous
#5768EA #8F57EA #D857EA
triadic
#8F57EA #EA8F57 #57EA8F
tetradic
#8F57EA #EA5768 #B2EA57 #57EAD8
square
#8F57EA #EA5768 #B2EA57 #57EAD8
split-complementary
#8F57EA #EAD857 #68EA57
monochromatic
#5116B1 #6B21E3 #8F57EA #B38DF1 #D8C4F8

Accessibility & contrast

On white

4.45
#8F57EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8F57EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F57EA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57EA#FFFFFF#000000##000000
##8F57EA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#797899
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f57ea;
/* rgb */ color: rgb(143, 87, 234);
/* oklch */ color: oklch(59.4% 0.212 297.0);
Tailwind
colors: {
  custom: {
    50: '#b689f2',
    500: '#8f57ea',
    950: '#000000',
  },
}
SCSS
$custom: #8f57ea;
$custom-light: #b689f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57ea",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 262.857,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59385,
    "c": 0.2117,
    "h": 297
  },
  "luminance": 0.18597
}

Semantic roles & 50–950 ramp

primary
#8F57EA
secondary
#D5E9B4
accent
#DA0B8B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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