#8F57CD#8F57CD

#8F57CD is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.178 H 303.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8F57CD
RGBrgb(143, 87, 205)
HSLhsl(268, 54%, 57%)
HSVhsv(268, 58%, 80%)
CMYKcmyk(30.2%, 57.6%, 0%, 19.6%)
CIE-LABlab(48.34, 46.21, -52.75)
CIE-LCHlch(48.34, 70.13, 311.22°)
OKLaboklab(57.43% 0.0972 -0.1491)
OKLCHoklch(57.43% 0.178 303.1)
XYZxyz(25.7528, 17.0638, 59.6827)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F57CD #95CD57
analogous
#575ACD #8F57CD #CA57CD
triadic
#8F57CD #CD8F57 #57CD8F
tetradic
#8F57CD #CD575A #95CD57 #57CDCA
square
#8F57CD #CD575A #95CD57 #57CDCA
split-complementary
#8F57CD #CDCA57 #5ACD57
monochromatic
#522783 #7035B2 #8F57CD #AE86DB #CEB5E9

Accessibility & contrast

On white

4.76
#8F57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8F57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F57CD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F57CD#FFFFFF#000000##FFFFFF
##8F57CD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2372D1
Deuteranopia (green-blind)
#3B73CA
Tritanopia (blue-blind)
#836E8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f57cd;
/* rgb */ color: rgb(143, 87, 205);
/* oklch */ color: oklch(57.4% 0.178 303.1);
Tailwind
colors: {
  custom: {
    50: '#b389dd',
    500: '#8f57cd',
    950: '#000000',
  },
}
SCSS
$custom: #8f57cd;
$custom-light: #b389dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f57cd",
  "rgb": {
    "r": 143,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 268.475,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57427,
    "c": 0.178,
    "h": 303.1
  },
  "luminance": 0.17064
}

Semantic roles & 50–950 ramp

primary
#8F57CD
secondary
#C1D8A8
accent
#DD4A98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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