#8D57CA#8D57CA

#8D57CA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.174 H 302.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8D57CA
RGBrgb(141, 87, 202)
HSLhsl(268, 52%, 57%)
HSVhsv(268, 57%, 79%)
CMYKcmyk(30.2%, 56.9%, 0%, 20.8%)
CIE-LABlab(47.94, 44.99, -51.69)
CIE-LCHlch(47.94, 68.53, 311.04°)
OKLaboklab(57.02% 0.0946 -0.146)
OKLCHoklch(57.02% 0.174 302.9)
XYZxyz(25.0510, 16.7434, 57.7777)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57CA #94CA57
analogous
#575BCA #8D57CA #C757CA
triadic
#8D57CA #CA8D57 #57CA8D
tetradic
#8D57CA #CA575B #94CA57 #57CAC7
square
#8D57CA #CA575B #94CA57 #57CAC7
split-complementary
#8D57CA #CAC757 #5BCA57
monochromatic
#51287F #6E37AD #8D57CA #AD86D9 #CCB4E7

Accessibility & contrast

On white

4.83
#8D57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8D57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57CA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57CA#FFFFFF#000000##FFFFFF
##8D57CA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2771CE
Deuteranopia (green-blind)
#3C72C7
Tritanopia (blue-blind)
#826E88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d57ca;
/* rgb */ color: rgb(141, 87, 202);
/* oklch */ color: oklch(57.0% 0.174 302.9);
Tailwind
colors: {
  custom: {
    50: '#b288db',
    500: '#8d57ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d57ca;
$custom-light: #b288db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57ca",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 268.174,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57021,
    "c": 0.17401,
    "h": 302.9
  },
  "luminance": 0.16743
}

Semantic roles & 50–950 ramp

primary
#8D57CA
secondary
#C0D6A7
accent
#DB4C98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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