#C487FD#C487FD

#C487FD is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.1% C 0.174 H 306.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#C487FD
RGBrgb(196, 135, 253)
HSLhsl(271, 97%, 76%)
HSVhsv(271, 47%, 99%)
CMYKcmyk(22.5%, 46.6%, 0%, 0.8%)
CIE-LABlab(66.64, 45.14, -50.16)
CIE-LCHlch(66.64, 67.48, 311.98°)
OKLaboklab(73.1% 0.1035 -0.1402)
OKLCHoklch(73.1% 0.174 306.4)
XYZxyz(49.1549, 36.1560, 97.2987)
Luminance0.3616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C487FD #C0FD87
analogous
#8987FD #C487FD #FD87FB
triadic
#C487FD #FDC487 #87FDC4
tetradic
#C487FD #FD8987 #C0FD87 #87FBFD
square
#C487FD #FD8987 #C0FD87 #87FBFD
split-complementary
#C487FD #FBFD87 #87FD89
monochromatic
#890FFB #A64BFC #C487FD #E2C3FE #F0E1FE

Accessibility & contrast

On white

2.55
#C487FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#C487FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C487FD
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C487FD#FFFFFF#000000##000000
##C487FD1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c487fd;
/* rgb */ color: rgb(196, 135, 253);
/* oklch */ color: oklch(73.1% 0.174 306.4);
Tailwind
colors: {
  custom: {
    50: '#d8abfe',
    500: '#c487fd',
    950: '#000000',
  },
}
SCSS
$custom: #c487fd;
$custom-light: #d8abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c487fd",
  "rgb": {
    "r": 196,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 271.017,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73095,
    "c": 0.17428,
    "h": 306.4
  },
  "luminance": 0.36156
}

Semantic roles & 50–950 ramp

primary
#C487FD
secondary
#E5F7D4
accent
#E6006F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C487FD

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

Preview Lab → · Contrast checker → · Palette generator →

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