#8F57CC#8F57CC

#8F57CC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.4% C 0.177 H 303.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8F57CC
RGBrgb(143, 87, 204)
HSLhsl(269, 53%, 57%)
HSVhsv(269, 57%, 80%)
CMYKcmyk(29.9%, 57.4%, 0%, 20%)
CIE-LABlab(48.28, 45.97, -52.27)
CIE-LCHlch(48.28, 69.61, 311.33°)
OKLaboklab(57.36% 0.0972 -0.1477)
OKLCHoklch(57.36% 0.177 303.4)
XYZxyz(25.6325, 17.0157, 59.0490)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57CC #94CC57
analogous
#575ACC #8F57CC #CA57CC
triadic
#8F57CC #CC8F57 #57CC8F
tetradic
#8F57CC #CC575A #94CC57 #57CCCA
square
#8F57CC #CC575A #94CC57 #57CCCA
split-complementary
#8F57CC #CCCA57 #5ACC57
monochromatic
#522781 #7036B0 #8F57CC #AE86DA #CEB5E9

Accessibility & contrast

On white

4.77
#8F57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8F57CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F57CC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57CC#FFFFFF#000000##FFFFFF
##8F57CC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2571D0
Deuteranopia (green-blind)
#3C72C9
Tritanopia (blue-blind)
#846E89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f57cc;
/* rgb */ color: rgb(143, 87, 204);
/* oklch */ color: oklch(57.4% 0.177 303.4);
Tailwind
colors: {
  custom: {
    50: '#b389dc',
    500: '#8f57cc',
    950: '#000000',
  },
}
SCSS
$custom: #8f57cc;
$custom-light: #b389dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57cc",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 268.718,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57363,
    "c": 0.17682,
    "h": 303.4
  },
  "luminance": 0.17016
}

Semantic roles & 50–950 ramp

primary
#8F57CC
secondary
#C0D7A8
accent
#DD4B97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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