#C487EB#C487EB

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

Color values

HEX#C487EB
RGBrgb(196, 135, 235)
HSLhsl(277, 71%, 73%)
HSVhsv(277, 43%, 92%)
CMYKcmyk(16.6%, 42.6%, 0%, 7.8%)
CIE-LABlab(65.80, 41.18, -41.60)
CIE-LCHlch(65.80, 58.54, 314.71°)
OKLaboklab(72.19% 0.1008 -0.1154)
OKLCHoklch(72.19% 0.153 311.1)
XYZxyz(46.4217, 35.0627, 82.9035)
Luminance0.3506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C487EB #AEEB87
analogous
#9287EB #C487EB #EB87E0
triadic
#C487EB #EBC487 #87EBC4
tetradic
#C487EB #EB9287 #AEEB87 #87E0EB
square
#C487EB #EB9287 #AEEB87 #87E0EB
split-complementary
#C487EB #E0EB87 #87EB92
monochromatic
#8F23D4 #AA53E2 #C487EB #DEBBF4 #F2E5FB

Accessibility & contrast

On white

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

On black

8.01
#C487EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C487EB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C487EB#FFFFFF#000000##000000
##C487EB1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DEF
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#C096AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c487eb;
/* rgb */ color: rgb(196, 135, 235);
/* oklch */ color: oklch(72.2% 0.153 311.1);
Tailwind
colors: {
  custom: {
    50: '#d7abf2',
    500: '#c487eb',
    950: '#000000',
  },
}
SCSS
$custom: #c487eb;
$custom-light: #d7abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c487eb",
  "rgb": {
    "r": 196,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 276.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7219,
    "c": 0.15325,
    "h": 311.1
  },
  "luminance": 0.35062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C487EB

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

Preview Lab → · Contrast checker → · Palette generator →

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