#C287D8#C287D8

#C287D8 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.1% C 0.131 H 316.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#C287D8
RGBrgb(194, 135, 216)
HSLhsl(284, 51%, 69%)
HSVhsv(284, 38%, 85%)
CMYKcmyk(10.2%, 37.5%, 0%, 15.3%)
CIE-LABlab(64.77, 36.60, -32.69)
CIE-LCHlch(64.77, 49.07, 318.23°)
OKLaboklab(71.1% 0.0947 -0.0899)
OKLCHoklch(71.1% 0.131 316.5)
XYZxyz(43.3049, 33.7562, 69.1868)
Luminance0.3376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C287D8 #9DD887
analogous
#9A87D8 #C287D8 #D887C6
triadic
#C287D8 #D8C287 #87D8C2
tetradic
#C287D8 #D89A87 #9DD887 #87C6D8
square
#C287D8 #D89A87 #9DD887 #87C6D8
split-complementary
#C287D8 #C6D887 #87D89A
monochromatic
#8D38AD #AB59C9 #C287D8 #D9B5E7 #F1E3F6

Accessibility & contrast

On white

2.71
#C287D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#C287D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C287D8
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C287D8#FFFFFF#000000##000000
##C287D81.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B99DB
Deuteranopia (green-blind)
#899FD6
Tritanopia (blue-blind)
#C191A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c287d8;
/* rgb */ color: rgb(194, 135, 216);
/* oklch */ color: oklch(71.1% 0.131 316.5);
Tailwind
colors: {
  custom: {
    50: '#d5abe4',
    500: '#c287d8',
    950: '#000000',
  },
}
SCSS
$custom: #c287d8;
$custom-light: #d5abe4;
$custom-dark: #000000;
JSON
{
  "hex": "#c287d8",
  "rgb": {
    "r": 194,
    "g": 135,
    "b": 216
  },
  "hsl": {
    "h": 283.704,
    "s": 50.943,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71099,
    "c": 0.13058,
    "h": 316.5
  },
  "luminance": 0.33755
}

Semantic roles & 50–950 ramp

primary
#C287D8
secondary
#D8E9D1
accent
#BE2750
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#141015
muted
#837F83

Preview Lab

Preview with #C287D8

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

Preview Lab → · Contrast checker → · Palette generator →

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