#C487EF#C487EF

#C487EF is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.4% C 0.158 H 310.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#C487EF
RGBrgb(196, 135, 239)
HSLhsl(275, 76%, 73%)
HSVhsv(275, 44%, 94%)
CMYKcmyk(18%, 43.5%, 0%, 6.3%)
CIE-LABlab(65.98, 42.05, -43.52)
CIE-LCHlch(65.98, 60.51, 314.02°)
OKLaboklab(72.39% 0.1015 -0.121)
OKLCHoklch(72.39% 0.158 310)
XYZxyz(47.0061, 35.2964, 85.9812)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C487EF #B2EF87
analogous
#9087EF #C487EF #EF87E6
triadic
#C487EF #EFC487 #87EFC4
tetradic
#C487EF #EF9087 #B2EF87 #87E6EF
square
#C487EF #EF9087 #B2EF87 #87E6EF
split-complementary
#C487EF #E6EF87 #87EF90
monochromatic
#8E1EDE #A951E8 #C487EF #DFBDF6 #F2E4FB

Accessibility & contrast

On white

2.61
#C487EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#C487EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C487EF
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C487EF#FFFFFF#000000##000000
##C487EF1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF3
Deuteranopia (green-blind)
#80A1EC
Tritanopia (blue-blind)
#BF97B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c487ef;
/* rgb */ color: rgb(196, 135, 239);
/* oklch */ color: oklch(72.4% 0.158 310.0);
Tailwind
colors: {
  custom: {
    50: '#d7abf4',
    500: '#c487ef',
    950: '#000000',
  },
}
SCSS
$custom: #c487ef;
$custom-light: #d7abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c487ef",
  "rgb": {
    "r": 196,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 275.192,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72385,
    "c": 0.1579,
    "h": 310
  },
  "luminance": 0.35296
}

Semantic roles & 50–950 ramp

primary
#C487EF
secondary
#E3F3D8
accent
#D90D61
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C487EF

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

Preview Lab → · Contrast checker → · Palette generator →

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