#C487FA#C487FA

#C487FA is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.9% C 0.171 H 307.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#C487FA
RGBrgb(196, 135, 250)
HSLhsl(272, 92%, 75%)
HSVhsv(272, 46%, 98%)
CMYKcmyk(21.6%, 46%, 0%, 2%)
CIE-LABlab(66.49, 44.47, -48.75)
CIE-LCHlch(66.49, 65.98, 312.37°)
OKLaboklab(72.94% 0.1031 -0.1361)
OKLCHoklch(72.94% 0.171 307.1)
XYZxyz(48.6808, 35.9663, 94.8016)
Luminance0.3597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C487FA #BDFA87
analogous
#8A87FA #C487FA #FA87F7
triadic
#C487FA #FAC487 #87FAC4
tetradic
#C487FA #FA8A87 #BDFA87 #87F7FA
square
#C487FA #FA8A87 #BDFA87 #87F7FA
split-complementary
#C487FA #F7FA87 #87FA8A
monochromatic
#8A11F5 #A74CF8 #C487FA #E1C2FC #F1E2FE

Accessibility & contrast

On white

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

On black

8.19
#C487FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C487FA
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C487FA#FFFFFF#000000##000000
##C487FA1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFE
Deuteranopia (green-blind)
#7AA2F7
Tritanopia (blue-blind)
#BC9AB5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c487fa;
/* rgb */ color: rgb(196, 135, 250);
/* oklch */ color: oklch(72.9% 0.171 307.1);
Tailwind
colors: {
  custom: {
    50: '#d8abfc',
    500: '#c487fa',
    950: '#000000',
  },
}
SCSS
$custom: #c487fa;
$custom-light: #d8abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c487fa",
  "rgb": {
    "r": 196,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 271.826,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72939,
    "c": 0.17076,
    "h": 307.1
  },
  "luminance": 0.35966
}

Semantic roles & 50–950 ramp

primary
#C487FA
secondary
#E5F6D5
accent
#E6006C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C487FA

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

Preview Lab → · Contrast checker → · Palette generator →

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