#C587EF#C587EF

#C587EF is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.5% C 0.158 H 310.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#C587EF
RGBrgb(197, 135, 239)
HSLhsl(276, 76%, 73%)
HSVhsv(276, 44%, 94%)
CMYKcmyk(17.6%, 43.5%, 0%, 6.3%)
CIE-LABlab(66.08, 42.33, -43.35)
CIE-LCHlch(66.08, 60.59, 314.32°)
OKLaboklab(72.49% 0.1027 -0.1204)
OKLCHoklch(72.49% 0.158 310.4)
XYZxyz(47.2671, 35.4310, 85.9935)
Luminance0.3543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C587EF #B1EF87
analogous
#9187EF #C587EF #EF87E5
triadic
#C587EF #EFC587 #87EFC5
tetradic
#C587EF #EF9187 #B1EF87 #87E5EF
square
#C587EF #EF9187 #B1EF87 #87E5EF
split-complementary
#C587EF #E5EF87 #87EF91
monochromatic
#901EDE #AB51E8 #C587EF #DFBDF6 #F2E4FB

Accessibility & contrast

On white

2.60
#C587EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#C587EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C587EF
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C587EF#FFFFFF#000000##000000
##C587EF1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF3
Deuteranopia (green-blind)
#80A2EC
Tritanopia (blue-blind)
#C097B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c587ef;
/* rgb */ color: rgb(197, 135, 239);
/* oklch */ color: oklch(72.5% 0.158 310.4);
Tailwind
colors: {
  custom: {
    50: '#d8abf4',
    500: '#c587ef',
    950: '#000000',
  },
}
SCSS
$custom: #c587ef;
$custom-light: #d8abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c587ef",
  "rgb": {
    "r": 197,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 275.769,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72487,
    "c": 0.15826,
    "h": 310.4
  },
  "luminance": 0.3543
}

Semantic roles & 50–950 ramp

primary
#C587EF
secondary
#E3F3D8
accent
#D90D5F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C587EF

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

Preview Lab → · Contrast checker → · Palette generator →

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