#C487DB#C487DB

#C487DB is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.4% C 0.135 H 316.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#C487DB
RGBrgb(196, 135, 219)
HSLhsl(284, 54%, 69%)
HSVhsv(284, 38%, 86%)
CMYKcmyk(10.5%, 38.4%, 0%, 14.1%)
CIE-LABlab(65.10, 37.82, -33.82)
CIE-LCHlch(65.10, 50.74, 318.20°)
OKLaboklab(71.44% 0.0977 -0.0931)
OKLCHoklch(71.44% 0.135 316.4)
XYZxyz(44.2132, 34.1793, 71.2723)
Luminance0.3418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C487DB #9EDB87
analogous
#9A87DB #C487DB #DB87C8
triadic
#C487DB #DBC487 #87DBC4
tetradic
#C487DB #DB9A87 #9EDB87 #87C8DB
square
#C487DB #DB9A87 #9EDB87 #87C8DB
split-complementary
#C487DB #C8DB87 #87DB9A
monochromatic
#9035B2 #AD58CD #C487DB #DBB6E9 #F2E5F7

Accessibility & contrast

On white

2.68
#C487DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#C487DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C487DB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C487DB#FFFFFF#000000##000000
##C487DB1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c487db;
/* rgb */ color: rgb(196, 135, 219);
/* oklch */ color: oklch(71.4% 0.135 316.4);
Tailwind
colors: {
  custom: {
    50: '#d7abe6',
    500: '#c487db',
    950: '#000000',
  },
}
SCSS
$custom: #c487db;
$custom-light: #d7abe6;
$custom-dark: #000000;
JSON
{
  "hex": "#c487db",
  "rgb": {
    "r": 196,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 283.571,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71441,
    "c": 0.13495,
    "h": 316.4
  },
  "luminance": 0.34178
}

Semantic roles & 50–950 ramp

primary
#C487DB
secondary
#D9EBD3
accent
#C1244F
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C487DB

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

Preview Lab → · Contrast checker → · Palette generator →

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