#C287D2#C287D2

#C287D2 is a light, vivid purple. Relative luminance 0.335; OKLCH L 70.8% C 0.124 H 318.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#C287D2
RGBrgb(194, 135, 210)
HSLhsl(287, 45%, 68%)
HSVhsv(287, 36%, 82%)
CMYKcmyk(7.6%, 35.7%, 0%, 17.6%)
CIE-LABlab(64.52, 35.38, -29.72)
CIE-LCHlch(64.52, 46.21, 319.97°)
OKLaboklab(70.84% 0.0934 -0.0814)
OKLCHoklch(70.84% 0.124 318.9)
XYZxyz(42.5434, 33.4516, 65.1760)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C287D2 #97D287
analogous
#9C87D2 #C287D2 #D287BD
triadic
#C287D2 #D2C287 #87D2C2
tetradic
#C287D2 #D29C87 #97D287 #87BDD2
square
#C287D2 #D29C87 #97D287 #87BDD2
split-complementary
#C287D2 #BDD287 #87D29C
monochromatic
#8C3DA2 #AB5AC1 #C287D2 #D9B4E3 #EFE0F3

Accessibility & contrast

On white

2.73
#C287D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#C287D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C287D2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C287D2#FFFFFF#000000##000000
##C287D21.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D98D5
Deuteranopia (green-blind)
#8B9FD0
Tritanopia (blue-blind)
#C390A3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c287d2;
/* rgb */ color: rgb(194, 135, 210);
/* oklch */ color: oklch(70.8% 0.124 318.9);
Tailwind
colors: {
  custom: {
    50: '#d5abe0',
    500: '#c287d2',
    950: '#000000',
  },
}
SCSS
$custom: #c287d2;
$custom-light: #d5abe0;
$custom-dark: #000000;
JSON
{
  "hex": "#c287d2",
  "rgb": {
    "r": 194,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 287.2,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70835,
    "c": 0.12386,
    "h": 318.9
  },
  "luminance": 0.3345
}

Semantic roles & 50–950 ramp

primary
#C287D2
secondary
#D4E6CF
accent
#B92D4B
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#141015
muted
#837F83

Preview Lab

Preview with #C287D2

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

Preview Lab → · Contrast checker → · Palette generator →

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