#C587EC#C587EC

#C587EC is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.3% C 0.155 H 311.3°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#C587EC
RGBrgb(197, 135, 236)
HSLhsl(277, 73%, 73%)
HSVhsv(277, 43%, 93%)
CMYKcmyk(16.5%, 42.8%, 0%, 7.5%)
CIE-LABlab(65.95, 41.68, -41.91)
CIE-LCHlch(65.95, 59.11, 314.85°)
OKLaboklab(72.34% 0.1022 -0.1163)
OKLCHoklch(72.34% 0.155 311.3)
XYZxyz(46.8276, 35.2552, 83.6787)
Luminance0.3525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C587EC #AEEC87
analogous
#9387EC #C587EC #EC87E0
triadic
#C587EC #ECC587 #87ECC5
tetradic
#C587EC #EC9387 #AEEC87 #87E0EC
square
#C587EC #EC9387 #AEEC87 #87E0EC
split-complementary
#C587EC #E0EC87 #87EC93
monochromatic
#9122D7 #AB52E4 #C587EC #DFBCF4 #F2E5FB

Accessibility & contrast

On white

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

On black

8.05
#C587EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C587EC
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C587EC#FFFFFF#000000##000000
##C587EC1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c587ec;
/* rgb */ color: rgb(197, 135, 236);
/* oklch */ color: oklch(72.3% 0.155 311.3);
Tailwind
colors: {
  custom: {
    50: '#d8abf2',
    500: '#c587ec',
    950: '#000000',
  },
}
SCSS
$custom: #c587ec;
$custom-light: #d8abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c587ec",
  "rgb": {
    "r": 197,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 276.832,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7234,
    "c": 0.15479,
    "h": 311.3
  },
  "luminance": 0.35254
}

Semantic roles & 50–950 ramp

primary
#C587EC
secondary
#E3F2D9
accent
#D5115C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C587EC

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

Preview Lab → · Contrast checker → · Palette generator →

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