#C487DC#C487DC

#C487DC is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.5% C 0.136 H 316.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#C487DC
RGBrgb(196, 135, 220)
HSLhsl(283, 55%, 70%)
HSVhsv(283, 39%, 86%)
CMYKcmyk(10.9%, 38.6%, 0%, 13.7%)
CIE-LABlab(65.15, 38.03, -34.31)
CIE-LCHlch(65.15, 51.22, 317.94°)
OKLaboklab(71.49% 0.0979 -0.0945)
OKLCHoklch(71.49% 0.136 316)
XYZxyz(44.3453, 34.2321, 71.9677)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C487DC #9FDC87
analogous
#9A87DC #C487DC #DC87CA
triadic
#C487DC #DCC487 #87DCC4
tetradic
#C487DC #DC9A87 #9FDC87 #87CADC
square
#C487DC #DC9A87 #9FDC87 #87CADC
split-complementary
#C487DC #CADC87 #87DC9A
monochromatic
#9035B4 #AD58CE #C487DC #DBB6EA #F3E6F8

Accessibility & contrast

On white

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

On black

7.85
#C487DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C487DC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C487DC#FFFFFF#000000##000000
##C487DC1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#799ADF
Deuteranopia (green-blind)
#88A0D9
Tritanopia (blue-blind)
#C392A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c487dc;
/* rgb */ color: rgb(196, 135, 220);
/* oklch */ color: oklch(71.5% 0.136 316.0);
Tailwind
colors: {
  custom: {
    50: '#d7abe7',
    500: '#c487dc',
    950: '#000000',
  },
}
SCSS
$custom: #c487dc;
$custom-light: #d7abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#c487dc",
  "rgb": {
    "r": 196,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 283.059,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71487,
    "c": 0.13607,
    "h": 316
  },
  "luminance": 0.34231
}

Semantic roles & 50–950 ramp

primary
#C487DC
secondary
#DAECD3
accent
#C22350
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C487DC

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

Preview Lab → · Contrast checker → · Palette generator →

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