#C487EC#C487EC

#C487EC is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.2% C 0.154 H 310.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#C487EC
RGBrgb(196, 135, 236)
HSLhsl(276, 73%, 73%)
HSVhsv(276, 43%, 93%)
CMYKcmyk(16.9%, 42.8%, 0%, 7.5%)
CIE-LABlab(65.84, 41.40, -42.08)
CIE-LCHlch(65.84, 59.03, 314.53°)
OKLaboklab(72.24% 0.101 -0.1168)
OKLCHoklch(72.24% 0.154 310.8)
XYZxyz(46.5665, 35.1206, 83.6665)
Luminance0.3512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C487EC #AFEC87
analogous
#9287EC #C487EC #EC87E1
triadic
#C487EC #ECC487 #87ECC4
tetradic
#C487EC #EC9287 #AFEC87 #87E1EC
square
#C487EC #EC9287 #AFEC87 #87E1EC
split-complementary
#C487EC #E1EC87 #87EC92
monochromatic
#8F22D7 #AA52E4 #C487EC #DEBCF4 #F2E5FB

Accessibility & contrast

On white

2.62
#C487EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#C487EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C487EC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C487EC#FFFFFF#000000##000000
##C487EC1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#C096AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c487ec;
/* rgb */ color: rgb(196, 135, 236);
/* oklch */ color: oklch(72.2% 0.154 310.8);
Tailwind
colors: {
  custom: {
    50: '#d7abf2',
    500: '#c487ec',
    950: '#000000',
  },
}
SCSS
$custom: #c487ec;
$custom-light: #d7abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c487ec",
  "rgb": {
    "r": 196,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 276.238,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72238,
    "c": 0.15441,
    "h": 310.8
  },
  "luminance": 0.3512
}

Semantic roles & 50–950 ramp

primary
#C487EC
secondary
#E3F2D9
accent
#D5115E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C487EC

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

Preview Lab → · Contrast checker → · Palette generator →

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