#C487FB#C487FB

#C487FB is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.0% C 0.172 H 306.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#C487FB
RGBrgb(196, 135, 251)
HSLhsl(272, 94%, 76%)
HSVhsv(272, 46%, 98%)
CMYKcmyk(21.9%, 46.2%, 0%, 1.6%)
CIE-LABlab(66.54, 44.69, -49.22)
CIE-LCHlch(66.54, 66.48, 312.24°)
OKLaboklab(72.99% 0.1032 -0.1375)
OKLCHoklch(72.99% 0.172 306.9)
XYZxyz(48.8380, 36.0292, 95.6296)
Luminance0.3603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C487FB #BEFB87
analogous
#8A87FB #C487FB #FB87F8
triadic
#C487FB #FBC487 #87FBC4
tetradic
#C487FB #FB8A87 #BEFB87 #87F8FB
square
#C487FB #FB8A87 #BEFB87 #87F8FB
split-complementary
#C487FB #F8FB87 #87FB8A
monochromatic
#8A11F7 #A74CF9 #C487FB #E1C2FD #F0E1FE

Accessibility & contrast

On white

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

On black

8.21
#C487FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C487FB
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C487FB#FFFFFF#000000##000000
##C487FB1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#79A2F8
Tritanopia (blue-blind)
#BC9AB5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c487fb;
/* rgb */ color: rgb(196, 135, 251);
/* oklch */ color: oklch(73.0% 0.172 306.9);
Tailwind
colors: {
  custom: {
    50: '#d8abfd',
    500: '#c487fb',
    950: '#000000',
  },
}
SCSS
$custom: #c487fb;
$custom-light: #d8abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#c487fb",
  "rgb": {
    "r": 196,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 271.552,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72991,
    "c": 0.17193,
    "h": 306.9
  },
  "luminance": 0.36029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C487FB

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

Preview Lab → · Contrast checker → · Palette generator →

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