#C287CA#C287CA

#C287CA is a light, moderate purple. Relative luminance 0.331; OKLCH L 70.5% C 0.115 H 322.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#C287CA
RGBrgb(194, 135, 202)
HSLhsl(293, 39%, 66%)
HSVhsv(293, 33%, 79%)
CMYKcmyk(4%, 33.2%, 0%, 20.8%)
CIE-LABlab(64.21, 33.80, -25.72)
CIE-LCHlch(64.21, 42.47, 322.72°)
OKLaboklab(70.49% 0.0914 -0.0701)
OKLCHoklch(70.49% 0.115 322.5)
XYZxyz(41.5715, 33.0628, 60.0576)
Luminance0.3306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C287CA #8FCA87
analogous
#A087CA #C287CA #CA87B0
triadic
#C287CA #CAC287 #87CAC2
tetradic
#C287CA #CAA087 #8FCA87 #87B0CA
square
#C287CA #CAA087 #8FCA87 #87B0CA
split-complementary
#C287CA #B0CA87 #87CAA0
monochromatic
#8B4295 #AC5DB7 #C287CA #D8B1DD #EDDCEF

Accessibility & contrast

On white

2.76
#C287CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#C287CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C287CA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C287CA#FFFFFF#000000##000000
##C287CA1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8097CD
Deuteranopia (green-blind)
#8E9EC8
Tritanopia (blue-blind)
#C48EA0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c287ca;
/* rgb */ color: rgb(194, 135, 202);
/* oklch */ color: oklch(70.5% 0.115 322.5);
Tailwind
colors: {
  custom: {
    50: '#d5abda',
    500: '#c287ca',
    950: '#000000',
  },
}
SCSS
$custom: #c287ca;
$custom-light: #d5abda;
$custom-dark: #000000;
JSON
{
  "hex": "#c287ca",
  "rgb": {
    "r": 194,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 292.836,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70495,
    "c": 0.11516,
    "h": 322.5
  },
  "luminance": 0.33062
}

Semantic roles & 50–950 ramp

primary
#C287CA
secondary
#CEE1CB
accent
#B23443
background
#FDFAFD
surface
#FAF4FA
border
#D3CED3
text
#141015
muted
#837F83

Preview Lab

Preview with #C287CA

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

Preview Lab → · Contrast checker → · Palette generator →

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