#C287D4#C287D4

#C287D4 is a light, vivid purple. Relative luminance 0.336; OKLCH L 70.9% C 0.126 H 318.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#C287D4
RGBrgb(194, 135, 212)
HSLhsl(286, 47%, 68%)
HSVhsv(286, 36%, 83%)
CMYKcmyk(8.5%, 36.3%, 0%, 16.9%)
CIE-LABlab(64.61, 35.79, -30.71)
CIE-LCHlch(64.61, 47.16, 319.37°)
OKLaboklab(70.92% 0.0938 -0.0842)
OKLCHoklch(70.92% 0.126 318.1)
XYZxyz(42.7941, 33.5519, 66.4965)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C287D4 #99D487
analogous
#9B87D4 #C287D4 #D487BF
triadic
#C287D4 #D4C287 #87D4C2
tetradic
#C287D4 #D49B87 #99D487 #87BFD4
square
#C287D4 #D49B87 #99D487 #87BFD4
split-complementary
#C287D4 #BFD487 #87D49B
monochromatic
#8D3BA5 #AB5AC4 #C287D4 #D9B4E4 #F0E1F4

Accessibility & contrast

On white

2.72
#C287D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#C287D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C287D4
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C287D4#FFFFFF#000000##000000
##C287D41.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C99D7
Deuteranopia (green-blind)
#8B9FD2
Tritanopia (blue-blind)
#C290A4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c287d4;
/* rgb */ color: rgb(194, 135, 212);
/* oklch */ color: oklch(70.9% 0.126 318.1);
Tailwind
colors: {
  custom: {
    50: '#d5abe1',
    500: '#c287d4',
    950: '#000000',
  },
}
SCSS
$custom: #c287d4;
$custom-light: #d5abe1;
$custom-dark: #000000;
JSON
{
  "hex": "#c287d4",
  "rgb": {
    "r": 194,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 285.974,
    "s": 47.239,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70922,
    "c": 0.12609,
    "h": 318.1
  },
  "luminance": 0.33551
}

Semantic roles & 50–950 ramp

primary
#C287D4
secondary
#D5E7D0
accent
#BA2B4D
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#141015
muted
#837F83

Preview Lab

Preview with #C287D4

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

Preview Lab → · Contrast checker → · Palette generator →

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