#C487FC#C487FC

#C487FC is a light, vivid violet. Relative luminance 0.361; OKLCH L 73.0% C 0.173 H 306.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#C487FC
RGBrgb(196, 135, 252)
HSLhsl(271, 95%, 76%)
HSVhsv(271, 46%, 99%)
CMYKcmyk(22.2%, 46.4%, 0%, 1.2%)
CIE-LABlab(66.59, 44.91, -49.69)
CIE-LCHlch(66.59, 66.98, 312.11°)
OKLaboklab(73.04% 0.1034 -0.1389)
OKLCHoklch(73.04% 0.173 306.7)
XYZxyz(48.9961, 36.0924, 96.4620)
Luminance0.3609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C487FC #BFFC87
analogous
#8987FC #C487FC #FC87FA
triadic
#C487FC #FCC487 #87FCC4
tetradic
#C487FC #FC8987 #BFFC87 #87FAFC
square
#C487FC #FC8987 #BFFC87 #87FAFC
split-complementary
#C487FC #FAFC87 #87FC89
monochromatic
#8910F9 #A74BFB #C487FC #E1C3FD #F0E1FE

Accessibility & contrast

On white

2.56
#C487FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#C487FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C487FC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C487FC#FFFFFF#000000##000000
##C487FC1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#BC9BB6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c487fc;
/* rgb */ color: rgb(196, 135, 252);
/* oklch */ color: oklch(73.0% 0.173 306.7);
Tailwind
colors: {
  custom: {
    50: '#d8abfe',
    500: '#c487fc',
    950: '#000000',
  },
}
SCSS
$custom: #c487fc;
$custom-light: #d8abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c487fc",
  "rgb": {
    "r": 196,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 271.282,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73043,
    "c": 0.17311,
    "h": 306.7
  },
  "luminance": 0.36092
}

Semantic roles & 50–950 ramp

primary
#C487FC
secondary
#E5F6D5
accent
#E6006E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C487FC

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

Preview Lab → · Contrast checker → · Palette generator →

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