#8F57CF#8F57CF

#8F57CF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.6% C 0.180 H 302.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8F57CF
RGBrgb(143, 87, 207)
HSLhsl(268, 56%, 58%)
HSVhsv(268, 58%, 81%)
CMYKcmyk(30.9%, 58%, 0%, 18.8%)
CIE-LABlab(48.46, 46.70, -53.70)
CIE-LCHlch(48.46, 71.17, 311.01°)
OKLaboklab(57.56% 0.0973 -0.1519)
OKLCHoklch(57.56% 0.18 302.6)
XYZxyz(25.9958, 17.1610, 60.9623)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57CF #97CF57
analogous
#575BCF #8F57CF #CB57CF
triadic
#8F57CF #CF8F57 #57CF8F
tetradic
#8F57CF #CF575B #97CF57 #57CFCB
square
#8F57CF #CF575B #97CF57 #57CFCB
split-complementary
#8F57CF #CFCB57 #5BCF57
monochromatic
#532685 #7034B5 #8F57CF #AF87DD #CEB6EA

Accessibility & contrast

On white

4.74
#8F57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8F57CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F57CF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57CF#FFFFFF#000000##FFFFFF
##8F57CF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2072D3
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#836F8B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f57cf;
/* rgb */ color: rgb(143, 87, 207);
/* oklch */ color: oklch(57.6% 0.180 302.6);
Tailwind
colors: {
  custom: {
    50: '#b389de',
    500: '#8f57cf',
    950: '#000000',
  },
}
SCSS
$custom: #8f57cf;
$custom-light: #b389de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57cf",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 268,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57555,
    "c": 0.18035,
    "h": 302.6
  },
  "luminance": 0.17161
}

Semantic roles & 50–950 ramp

primary
#8F57CF
secondary
#C3D9A9
accent
#DF4999
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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