#C487DF#C487DF

#C487DF is a light, vivid purple. Relative luminance 0.344; OKLCH L 71.6% C 0.139 H 315.0°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#C487DF
RGBrgb(196, 135, 223)
HSLhsl(282, 58%, 70%)
HSVhsv(282, 39%, 87%)
CMYKcmyk(12.1%, 39.5%, 0%, 12.5%)
CIE-LABlab(65.27, 38.65, -35.78)
CIE-LCHlch(65.27, 52.67, 317.21°)
OKLaboklab(71.62% 0.0986 -0.0987)
OKLCHoklch(71.62% 0.139 315)
XYZxyz(44.7461, 34.3924, 74.0790)
Luminance0.3439 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C487DF #A2DF87
analogous
#9887DF #C487DF #DF87CE
triadic
#C487DF #DFC487 #87DFC4
tetradic
#C487DF #DF9887 #A2DF87 #87CEDF
square
#C487DF #DF9887 #A2DF87 #87CEDF
split-complementary
#C487DF #CEDF87 #87DF98
monochromatic
#9032BA #AC57D2 #C487DF #DCB7EC #F3E7F9

Accessibility & contrast

On white

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

On black

7.88
#C487DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C487DF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C487DF#FFFFFF#000000##000000
##C487DF1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#789BE2
Deuteranopia (green-blind)
#87A0DC
Tritanopia (blue-blind)
#C293A9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c487df;
/* rgb */ color: rgb(196, 135, 223);
/* oklch */ color: oklch(71.6% 0.139 315.0);
Tailwind
colors: {
  custom: {
    50: '#d7abe9',
    500: '#c487df',
    950: '#000000',
  },
}
SCSS
$custom: #c487df;
$custom-light: #d7abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#c487df",
  "rgb": {
    "r": 196,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 281.591,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71623,
    "c": 0.13947,
    "h": 315
  },
  "luminance": 0.34391
}

Semantic roles & 50–950 ramp

primary
#C487DF
secondary
#DCEDD5
accent
#C52053
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C487DF

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

Preview Lab → · Contrast checker → · Palette generator →

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