#C587DF#C587DF

#C587DF is a light, vivid purple. Relative luminance 0.345; OKLCH L 71.7% C 0.140 H 315.5°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#C587DF
RGBrgb(197, 135, 223)
HSLhsl(282, 58%, 70%)
HSVhsv(282, 39%, 87%)
CMYKcmyk(11.7%, 39.5%, 0%, 12.5%)
CIE-LABlab(65.38, 38.95, -35.61)
CIE-LCHlch(65.38, 52.77, 317.57°)
OKLaboklab(71.73% 0.0997 -0.0982)
OKLCHoklch(71.73% 0.14 315.5)
XYZxyz(45.0072, 34.5270, 74.0912)
Luminance0.3453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C587DF #A1DF87
analogous
#9987DF #C587DF #DF87CD
triadic
#C587DF #DFC587 #87DFC5
tetradic
#C587DF #DF9987 #A1DF87 #87CDDF
square
#C587DF #DF9987 #A1DF87 #87CDDF
split-complementary
#C587DF #CDDF87 #87DF99
monochromatic
#9232BA #AE57D2 #C587DF #DCB7EC #F3E7F9

Accessibility & contrast

On white

2.66
#C587DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#C587DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C587DF
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C587DF#FFFFFF#000000##000000
##C587DF1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#789BE2
Deuteranopia (green-blind)
#88A1DC
Tritanopia (blue-blind)
#C493A9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c587df;
/* rgb */ color: rgb(197, 135, 223);
/* oklch */ color: oklch(71.7% 0.140 315.5);
Tailwind
colors: {
  custom: {
    50: '#d8abe9',
    500: '#c587df',
    950: '#000000',
  },
}
SCSS
$custom: #c587df;
$custom-light: #d8abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#c587df",
  "rgb": {
    "r": 197,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 282.273,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71727,
    "c": 0.13993,
    "h": 315.5
  },
  "luminance": 0.34526
}

Semantic roles & 50–950 ramp

primary
#C587DF
secondary
#DCEDD5
accent
#C52051
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C587DF

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

Preview Lab → · Contrast checker → · Palette generator →

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