#C587EB#C587EB

#C587EB is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.3% C 0.154 H 311.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#C587EB
RGBrgb(197, 135, 235)
HSLhsl(277, 71%, 73%)
HSVhsv(277, 43%, 92%)
CMYKcmyk(16.2%, 42.6%, 0%, 7.8%)
CIE-LABlab(65.90, 41.47, -41.43)
CIE-LCHlch(65.90, 58.62, 315.03°)
OKLaboklab(72.29% 0.102 -0.1149)
OKLCHoklch(72.29% 0.154 311.6)
XYZxyz(46.6827, 35.1973, 82.9157)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C587EB #ADEB87
analogous
#9387EB #C587EB #EB87DF
triadic
#C587EB #EBC587 #87EBC5
tetradic
#C587EB #EB9387 #ADEB87 #87DFEB
square
#C587EB #EB9387 #ADEB87 #87DFEB
split-complementary
#C587EB #DFEB87 #87EB93
monochromatic
#9123D4 #AC53E2 #C587EB #DEBBF4 #F2E5FB

Accessibility & contrast

On white

2.61
#C587EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#C587EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C587EB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C587EB#FFFFFF#000000##000000
##C587EB1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DEF
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#C196AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c587eb;
/* rgb */ color: rgb(197, 135, 235);
/* oklch */ color: oklch(72.3% 0.154 311.6);
Tailwind
colors: {
  custom: {
    50: '#d8abf2',
    500: '#c587eb',
    950: '#000000',
  },
}
SCSS
$custom: #c587eb;
$custom-light: #d8abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c587eb",
  "rgb": {
    "r": 197,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 277.2,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72292,
    "c": 0.15364,
    "h": 311.6
  },
  "luminance": 0.35196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C587EB

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

Preview Lab → · Contrast checker → · Palette generator →

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