#C287EA#C287EA

#C287EA is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.9% C 0.151 H 310.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#C287EA
RGBrgb(194, 135, 234)
HSLhsl(276, 70%, 72%)
HSVhsv(276, 42%, 92%)
CMYKcmyk(17.1%, 42.3%, 0%, 8.2%)
CIE-LABlab(65.54, 40.40, -41.46)
CIE-LCHlch(65.54, 57.88, 314.26°)
OKLaboklab(71.94% 0.0983 -0.115)
OKLCHoklch(71.94% 0.151 310.5)
XYZxyz(45.7607, 34.7385, 82.1205)
Luminance0.3474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C287EA #AFEA87
analogous
#9187EA #C287EA #EA87E0
triadic
#C287EA #EAC287 #87EAC2
tetradic
#C287EA #EA9187 #AFEA87 #87E0EA
square
#C287EA #EA9187 #AFEA87 #87E0EA
split-complementary
#C287EA #E0EA87 #87EA91
monochromatic
#8C25D2 #A853E1 #C287EA #DCBBF3 #F2E5FA

Accessibility & contrast

On white

2.64
#C287EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#C287EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C287EA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C287EA#FFFFFF#000000##000000
##C287EA1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CEE
Deuteranopia (green-blind)
#81A0E7
Tritanopia (blue-blind)
#BD96AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c287ea;
/* rgb */ color: rgb(194, 135, 234);
/* oklch */ color: oklch(71.9% 0.151 310.5);
Tailwind
colors: {
  custom: {
    50: '#d6abf1',
    500: '#c287ea',
    950: '#000000',
  },
}
SCSS
$custom: #c287ea;
$custom-light: #d6abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c287ea",
  "rgb": {
    "r": 194,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 275.758,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71938,
    "c": 0.15133,
    "h": 310.5
  },
  "luminance": 0.34738
}

Semantic roles & 50–950 ramp

primary
#C287EA
secondary
#E3F2D9
accent
#D21360
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C287EA

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

Preview Lab → · Contrast checker → · Palette generator →

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