#8F57E2#8F57E2

#8F57E2 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.202 H 298.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8F57E2
RGBrgb(143, 87, 226)
HSLhsl(264, 71%, 61%)
HSVhsv(264, 62%, 89%)
CMYKcmyk(36.7%, 61.5%, 0%, 11.4%)
CIE-LABlab(49.67, 51.43, -62.56)
CIE-LCHlch(49.67, 80.99, 309.42°)
OKLaboklab(58.83% 0.0967 -0.1779)
OKLCHoklch(58.83% 0.202 298.5)
XYZxyz(28.4599, 18.1467, 73.9400)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57E2 #AAE257
analogous
#5765E2 #8F57E2 #D557E2
triadic
#8F57E2 #E28F57 #57E28F
tetradic
#8F57E2 #E25765 #AAE257 #57E2D5
square
#8F57E2 #E25765 #AAE257 #57E2D5
split-complementary
#8F57E2 #E2D557 #65E257
monochromatic
#521CA3 #6D25D7 #8F57E2 #B28BEB #D5BFF4

Accessibility & contrast

On white

4.54
#8F57E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8F57E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F57E2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57E2#FFFFFF#000000##000000
##8F57E21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#1975DF
Tritanopia (blue-blind)
#7C7594
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f57e2;
/* rgb */ color: rgb(143, 87, 226);
/* oklch */ color: oklch(58.8% 0.202 298.5);
Tailwind
colors: {
  custom: {
    50: '#b589ec',
    500: '#8f57e2',
    950: '#000000',
  },
}
SCSS
$custom: #8f57e2;
$custom-light: #b589ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57e2",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 264.173,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58825,
    "c": 0.20249,
    "h": 298.5
  },
  "luminance": 0.18147
}

Semantic roles & 50–950 ramp

primary
#8F57E2
secondary
#CFE4B0
accent
#D31385
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F57E2

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

Preview Lab → · Contrast checker → · Palette generator →

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