#C287DA#C287DA

#C287DA is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.2% C 0.133 H 315.8°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#C287DA
RGBrgb(194, 135, 218)
HSLhsl(283, 53%, 69%)
HSVhsv(283, 38%, 85%)
CMYKcmyk(11%, 38.1%, 0%, 14.5%)
CIE-LABlab(64.85, 37.01, -33.67)
CIE-LCHlch(64.85, 50.04, 317.71°)
OKLaboklab(71.19% 0.0952 -0.0927)
OKLCHoklch(71.19% 0.133 315.8)
XYZxyz(43.5651, 33.8603, 70.5568)
Luminance0.3386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C287DA #9FDA87
analogous
#9987DA #C287DA #DA87C8
triadic
#C287DA #DAC287 #87DAC2
tetradic
#C287DA #DA9987 #9FDA87 #87C8DA
square
#C287DA #DA9987 #9FDA87 #87C8DA
split-complementary
#C287DA #C8DA87 #87DA99
monochromatic
#8D36B0 #AA58CC #C287DA #DAB6E8 #F2E5F7

Accessibility & contrast

On white

2.70
#C287DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#C287DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C287DA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C287DA#FFFFFF#000000##000000
##C287DA1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9ADD
Deuteranopia (green-blind)
#889FD8
Tritanopia (blue-blind)
#C192A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c287da;
/* rgb */ color: rgb(194, 135, 218);
/* oklch */ color: oklch(71.2% 0.133 315.8);
Tailwind
colors: {
  custom: {
    50: '#d5abe5',
    500: '#c287da',
    950: '#000000',
  },
}
SCSS
$custom: #c287da;
$custom-light: #d5abe5;
$custom-dark: #000000;
JSON
{
  "hex": "#c287da",
  "rgb": {
    "r": 194,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 282.651,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71189,
    "c": 0.13285,
    "h": 315.8
  },
  "luminance": 0.33859
}

Semantic roles & 50–950 ramp

primary
#C287DA
secondary
#D9EAD2
accent
#C02552
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C287DA

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

Preview Lab → · Contrast checker → · Palette generator →

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