#C587EA#C587EA

#C587EA is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.2% C 0.152 H 311.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#C587EA
RGBrgb(197, 135, 234)
HSLhsl(278, 70%, 72%)
HSVhsv(278, 42%, 92%)
CMYKcmyk(15.8%, 42.3%, 0%, 8.2%)
CIE-LABlab(65.86, 41.26, -40.95)
CIE-LCHlch(65.86, 58.13, 315.22°)
OKLaboklab(72.24% 0.1018 -0.1135)
OKLCHoklch(72.24% 0.152 311.9)
XYZxyz(46.5386, 35.1396, 82.1570)
Luminance0.3514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C587EA #ACEA87
analogous
#9487EA #C587EA #EA87DD
triadic
#C587EA #EAC587 #87EAC5
tetradic
#C587EA #EA9487 #ACEA87 #87DDEA
square
#C587EA #EA9487 #ACEA87 #87DDEA
split-complementary
#C587EA #DDEA87 #87EA94
monochromatic
#9125D2 #AC53E1 #C587EA #DEBBF3 #F2E5FA

Accessibility & contrast

On white

2.62
#C587EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#C587EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C587EA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C587EA#FFFFFF#000000##000000
##C587EA1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#83A1E7
Tritanopia (blue-blind)
#C196AD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c587ea;
/* rgb */ color: rgb(197, 135, 234);
/* oklch */ color: oklch(72.2% 0.152 311.9);
Tailwind
colors: {
  custom: {
    50: '#d8abf1',
    500: '#c587ea',
    950: '#000000',
  },
}
SCSS
$custom: #c587ea;
$custom-light: #d8abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c587ea",
  "rgb": {
    "r": 197,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 277.576,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72244,
    "c": 0.15249,
    "h": 311.9
  },
  "luminance": 0.35139
}

Semantic roles & 50–950 ramp

primary
#C587EA
secondary
#E2F2D9
accent
#D2135B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C587EA

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

Preview Lab → · Contrast checker → · Palette generator →

#C587EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva