#8D57CB#8D57CB

#8D57CB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.175 H 302.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8D57CB
RGBrgb(141, 87, 203)
HSLhsl(268, 53%, 57%)
HSVhsv(268, 57%, 80%)
CMYKcmyk(30.5%, 57.1%, 0%, 20.4%)
CIE-LABlab(48.00, 45.24, -52.16)
CIE-LCHlch(48.00, 69.05, 310.93°)
OKLaboklab(57.08% 0.0946 -0.1474)
OKLCHoklch(57.08% 0.175 302.7)
XYZxyz(25.1697, 16.7909, 58.4033)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57CB #95CB57
analogous
#575BCB #8D57CB #C757CB
triadic
#8D57CB #CB8D57 #57CB8D
tetradic
#8D57CB #CB575B #95CB57 #57CBC7
square
#8D57CB #CB575B #95CB57 #57CBC7
split-complementary
#8D57CB #CBC757 #5BCB57
monochromatic
#512880 #6E36AF #8D57CB #AD86D9 #CCB4E8

Accessibility & contrast

On white

4.82
#8D57CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8D57CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57CB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57CB#FFFFFF#000000##FFFFFF
##8D57CB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2571CF
Deuteranopia (green-blind)
#3B72C8
Tritanopia (blue-blind)
#816E89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d57cb;
/* rgb */ color: rgb(141, 87, 203);
/* oklch */ color: oklch(57.1% 0.175 302.7);
Tailwind
colors: {
  custom: {
    50: '#b288db',
    500: '#8d57cb',
    950: '#000000',
  },
}
SCSS
$custom: #8d57cb;
$custom-light: #b288db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57cb",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 267.931,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57084,
    "c": 0.1752,
    "h": 302.7
  },
  "luminance": 0.16791
}

Semantic roles & 50–950 ramp

primary
#8D57CB
secondary
#C1D7A7
accent
#DC4C99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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