#C287D3#C287D3

#C287D3 is a light, vivid purple. Relative luminance 0.335; OKLCH L 70.9% C 0.125 H 318.5°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#C287D3
RGBrgb(194, 135, 211)
HSLhsl(287, 46%, 68%)
HSVhsv(287, 36%, 83%)
CMYKcmyk(8.1%, 36%, 0%, 17.3%)
CIE-LABlab(64.56, 35.58, -30.21)
CIE-LCHlch(64.56, 46.68, 319.67°)
OKLaboklab(70.88% 0.0936 -0.0828)
OKLCHoklch(70.88% 0.125 318.5)
XYZxyz(42.6684, 33.5016, 65.8342)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C287D3 #98D387
analogous
#9C87D3 #C287D3 #D387BE
triadic
#C287D3 #D3C287 #87D3C2
tetradic
#C287D3 #D39C87 #98D387 #87BED3
square
#C287D3 #D39C87 #98D387 #87BED3
split-complementary
#C287D3 #BED387 #87D39C
monochromatic
#8C3CA4 #AB5AC3 #C287D3 #D9B4E3 #F0E1F4

Accessibility & contrast

On white

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

On black

7.70
#C287D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C287D3
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C287D3#FFFFFF#000000##000000
##C287D31.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D99D6
Deuteranopia (green-blind)
#8B9FD1
Tritanopia (blue-blind)
#C290A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c287d3;
/* rgb */ color: rgb(194, 135, 211);
/* oklch */ color: oklch(70.9% 0.125 318.5);
Tailwind
colors: {
  custom: {
    50: '#d5abe0',
    500: '#c287d3',
    950: '#000000',
  },
}
SCSS
$custom: #c287d3;
$custom-light: #d5abe0;
$custom-dark: #000000;
JSON
{
  "hex": "#c287d3",
  "rgb": {
    "r": 194,
    "g": 135,
    "b": 211
  },
  "hsl": {
    "h": 286.579,
    "s": 46.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70878,
    "c": 0.12497,
    "h": 318.5
  },
  "luminance": 0.335
}

Semantic roles & 50–950 ramp

primary
#C287D3
secondary
#D4E7CF
accent
#BA2C4C
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#141015
muted
#837F83

Preview Lab

Preview with #C287D3

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

Preview Lab → · Contrast checker → · Palette generator →

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