#8F57EE#8F57EE

#8F57EE is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.216 H 296.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8F57EE
RGBrgb(143, 87, 238)
HSLhsl(262, 82%, 64%)
HSVhsv(262, 63%, 93%)
CMYKcmyk(39.9%, 63.4%, 0%, 6.7%)
CIE-LABlab(50.49, 54.48, -68.01)
CIE-LCHlch(50.49, 87.14, 308.70°)
OKLaboklab(59.67% 0.0958 -0.1939)
OKLCHoklch(59.67% 0.216 296.3)
XYZxyz(30.1645, 18.8285, 82.9173)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57EE #B6EE57
analogous
#576AEE #8F57EE #DB57EE
triadic
#8F57EE #EE8F57 #57EE8F
tetradic
#8F57EE #EE576A #B6EE57 #57EEDB
square
#8F57EE #EE576A #B6EE57 #57EEDB
split-complementary
#8F57EE #EEDB57 #6AEE57
monochromatic
#5013B8 #6A1FE8 #8F57EE #B48FF4 #D9C6F9

Accessibility & contrast

On white

4.41
#8F57EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8F57EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F57EE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57EE#FFFFFF#000000##000000
##8F57EE1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#0076EB
Tritanopia (blue-blind)
#777A9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f57ee;
/* rgb */ color: rgb(143, 87, 238);
/* oklch */ color: oklch(59.7% 0.216 296.3);
Tailwind
colors: {
  custom: {
    50: '#b689f4',
    500: '#8f57ee',
    950: '#000000',
  },
}
SCSS
$custom: #8f57ee;
$custom-light: #b689f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57ee",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 262.252,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59671,
    "c": 0.21628,
    "h": 296.3
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#8F57EE
secondary
#D7EBB6
accent
#DE088E
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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