#8F57CE#8F57CE

#8F57CE is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.5% C 0.179 H 302.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8F57CE
RGBrgb(143, 87, 206)
HSLhsl(268, 55%, 57%)
HSVhsv(268, 58%, 81%)
CMYKcmyk(30.6%, 57.8%, 0%, 19.2%)
CIE-LABlab(48.40, 46.46, -53.22)
CIE-LCHlch(48.40, 70.65, 311.12°)
OKLaboklab(57.49% 0.0973 -0.1505)
OKLCHoklch(57.49% 0.179 302.9)
XYZxyz(25.8739, 17.1123, 60.3204)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57CE #96CE57
analogous
#575BCE #8F57CE #CA57CE
triadic
#8F57CE #CE8F57 #57CE8F
tetradic
#8F57CE #CE575B #96CE57 #57CECA
square
#8F57CE #CE575B #96CE57 #57CECA
split-complementary
#8F57CE #CECA57 #5BCE57
monochromatic
#532784 #7034B3 #8F57CE #AF86DC #CEB6EA

Accessibility & contrast

On white

4.75
#8F57CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8F57CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F57CE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57CE#FFFFFF#000000##FFFFFF
##8F57CE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2272D2
Deuteranopia (green-blind)
#3A73CB
Tritanopia (blue-blind)
#836F8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f57ce;
/* rgb */ color: rgb(143, 87, 206);
/* oklch */ color: oklch(57.5% 0.179 302.9);
Tailwind
colors: {
  custom: {
    50: '#b389de',
    500: '#8f57ce',
    950: '#000000',
  },
}
SCSS
$custom: #8f57ce;
$custom-light: #b389de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57ce",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 268.235,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57491,
    "c": 0.17917,
    "h": 302.9
  },
  "luminance": 0.17112
}

Semantic roles & 50–950 ramp

primary
#8F57CE
secondary
#C2D8A8
accent
#DE4A98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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