#8F57DC#8F57DC

#8F57DC is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.4% C 0.196 H 299.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8F57DC
RGBrgb(143, 87, 220)
HSLhsl(265, 66%, 60%)
HSVhsv(265, 60%, 86%)
CMYKcmyk(35%, 60.5%, 0%, 13.7%)
CIE-LABlab(49.28, 49.92, -59.80)
CIE-LCHlch(49.28, 77.90, 309.86°)
OKLaboklab(58.41% 0.097 -0.1698)
OKLCHoklch(58.41% 0.196 299.7)
XYZxyz(27.6510, 17.8231, 69.6797)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57DC #A4DC57
analogous
#5762DC #8F57DC #D157DC
triadic
#8F57DC #DC8F57 #57DC8F
tetradic
#8F57DC #DC5762 #A4DC57 #57DCD1
square
#8F57DC #DC5762 #A4DC57 #57DCD1
split-complementary
#8F57DC #DCD157 #62DC57
monochromatic
#532099 #6E2ACB #8F57DC #B18AE7 #D3BCF1

Accessibility & contrast

On white

4.60
#8F57DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8F57DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F57DC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57DC#FFFFFF#000000##FFFFFF
##8F57DC1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#7E7391
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f57dc;
/* rgb */ color: rgb(143, 87, 220);
/* oklch */ color: oklch(58.4% 0.196 299.7);
Tailwind
colors: {
  custom: {
    50: '#b489e8',
    500: '#8f57dc',
    950: '#000000',
  },
}
SCSS
$custom: #8f57dc;
$custom-light: #b489e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57dc",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 265.263,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58414,
    "c": 0.19553,
    "h": 299.7
  },
  "luminance": 0.17823
}

Semantic roles & 50–950 ramp

primary
#8F57DC
secondary
#CBE1AE
accent
#CD1881
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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