#C587DB#C587DB

#C587DB is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.5% C 0.135 H 316.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#C587DB
RGBrgb(197, 135, 219)
HSLhsl(284, 54%, 69%)
HSVhsv(284, 38%, 86%)
CMYKcmyk(10%, 38.4%, 0%, 14.1%)
CIE-LABlab(65.21, 38.13, -33.64)
CIE-LCHlch(65.21, 50.85, 318.57°)
OKLaboklab(71.55% 0.0989 -0.0925)
OKLCHoklch(71.55% 0.135 316.9)
XYZxyz(44.4743, 34.3139, 71.2845)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C587DB #9DDB87
analogous
#9B87DB #C587DB #DB87C7
triadic
#C587DB #DBC587 #87DBC5
tetradic
#C587DB #DB9B87 #9DDB87 #87C7DB
square
#C587DB #DB9B87 #9DDB87 #87C7DB
split-complementary
#C587DB #C7DB87 #87DB9B
monochromatic
#9135B2 #AE58CD #C587DB #DCB6E9 #F3E5F7

Accessibility & contrast

On white

2.67
#C587DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#C587DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C587DB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C587DB#FFFFFF#000000##000000
##C587DB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9ADE
Deuteranopia (green-blind)
#89A0D8
Tritanopia (blue-blind)
#C592A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c587db;
/* rgb */ color: rgb(197, 135, 219);
/* oklch */ color: oklch(71.5% 0.135 316.9);
Tailwind
colors: {
  custom: {
    50: '#d8abe6',
    500: '#c587db',
    950: '#000000',
  },
}
SCSS
$custom: #c587db;
$custom-light: #d8abe6;
$custom-dark: #000000;
JSON
{
  "hex": "#c587db",
  "rgb": {
    "r": 197,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 284.286,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71546,
    "c": 0.13544,
    "h": 316.9
  },
  "luminance": 0.34313
}

Semantic roles & 50–950 ramp

primary
#C587DB
secondary
#D9EBD3
accent
#C1244D
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C587DB

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

Preview Lab → · Contrast checker → · Palette generator →

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