#C487FE#C487FE

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

Color values

HEX#C487FE
RGBrgb(196, 135, 254)
HSLhsl(271, 98%, 76%)
HSVhsv(271, 47%, 100%)
CMYKcmyk(22.8%, 46.9%, 0%, 0.4%)
CIE-LABlab(66.69, 45.36, -50.63)
CIE-LCHlch(66.69, 67.98, 311.86°)
OKLaboklab(73.15% 0.1036 -0.1416)
OKLCHoklch(73.15% 0.175 306.2)
XYZxyz(49.3147, 36.2199, 98.1399)
Luminance0.3622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C487FE #C1FE87
analogous
#8987FE #C487FE #FE87FD
triadic
#C487FE #FEC487 #87FEC4
tetradic
#C487FE #FE8987 #C1FE87 #87FDFE
square
#C487FE #FE8987 #C1FE87 #87FDFE
split-complementary
#C487FE #FDFE87 #87FE89
monochromatic
#880EFD #A64AFD #C487FE #E2C4FF #F0E1FF

Accessibility & contrast

On white

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

On black

8.24
#C487FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C487FE
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C487FE#FFFFFF#000000##000000
##C487FE1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#77A3FB
Tritanopia (blue-blind)
#BB9BB7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c487fe;
/* rgb */ color: rgb(196, 135, 254);
/* oklch */ color: oklch(73.1% 0.175 306.2);
Tailwind
colors: {
  custom: {
    50: '#d8abff',
    500: '#c487fe',
    950: '#000000',
  },
}
SCSS
$custom: #c487fe;
$custom-light: #d8abff;
$custom-dark: #000000;
JSON
{
  "hex": "#c487fe",
  "rgb": {
    "r": 196,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 270.756,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73147,
    "c": 0.17545,
    "h": 306.2
  },
  "luminance": 0.36219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C487FE

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

Preview Lab → · Contrast checker → · Palette generator →

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