#C287D5#C287D5

#C287D5 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.0% C 0.127 H 317.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#C287D5
RGBrgb(194, 135, 213)
HSLhsl(285, 48%, 68%)
HSVhsv(285, 37%, 84%)
CMYKcmyk(8.9%, 36.6%, 0%, 16.5%)
CIE-LABlab(64.65, 35.99, -31.21)
CIE-LCHlch(64.65, 47.63, 319.07°)
OKLaboklab(70.97% 0.0941 -0.0856)
OKLCHoklch(70.97% 0.127 317.7)
XYZxyz(42.9207, 33.6025, 67.1628)
Luminance0.3360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C287D5 #9AD587
analogous
#9B87D5 #C287D5 #D587C1
triadic
#C287D5 #D5C287 #87D5C2
tetradic
#C287D5 #D59B87 #9AD587 #87C1D5
square
#C287D5 #D59B87 #9AD587 #87C1D5
split-complementary
#C287D5 #C1D587 #87D59B
monochromatic
#8D3AA7 #AB5AC5 #C287D5 #D9B4E5 #F0E2F5

Accessibility & contrast

On white

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

On black

7.72
#C287D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C287D5
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C287D5#FFFFFF#000000##000000
##C287D51.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C99D8
Deuteranopia (green-blind)
#8A9FD3
Tritanopia (blue-blind)
#C291A4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c287d5;
/* rgb */ color: rgb(194, 135, 213);
/* oklch */ color: oklch(71.0% 0.127 317.7);
Tailwind
colors: {
  custom: {
    50: '#d5abe2',
    500: '#c287d5',
    950: '#000000',
  },
}
SCSS
$custom: #c287d5;
$custom-light: #d5abe2;
$custom-dark: #000000;
JSON
{
  "hex": "#c287d5",
  "rgb": {
    "r": 194,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 285.385,
    "s": 48.148,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70966,
    "c": 0.12721,
    "h": 317.7
  },
  "luminance": 0.33601
}

Semantic roles & 50–950 ramp

primary
#C287D5
secondary
#D6E8D0
accent
#BB2A4D
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#141015
muted
#837F83

Preview Lab

Preview with #C287D5

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

Preview Lab → · Contrast checker → · Palette generator →

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