#C287EB#C287EB

#C287EB is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.0% C 0.152 H 310.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#C287EB
RGBrgb(194, 135, 235)
HSLhsl(275, 71%, 73%)
HSVhsv(275, 43%, 92%)
CMYKcmyk(17.4%, 42.6%, 0%, 7.8%)
CIE-LABlab(65.59, 40.61, -41.94)
CIE-LCHlch(65.59, 58.38, 314.08°)
OKLaboklab(71.99% 0.0985 -0.1164)
OKLCHoklch(71.99% 0.152 310.2)
XYZxyz(45.9048, 34.7961, 82.8792)
Luminance0.3479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C287EB #B0EB87
analogous
#9087EB #C287EB #EB87E2
triadic
#C287EB #EBC287 #87EBC2
tetradic
#C287EB #EB9087 #B0EB87 #87E2EB
square
#C287EB #EB9087 #B0EB87 #87E2EB
split-complementary
#C287EB #E2EB87 #87EB90
monochromatic
#8C23D4 #A753E2 #C287EB #DDBBF4 #F2E5FB

Accessibility & contrast

On white

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

On black

7.96
#C287EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C287EB
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C287EB#FFFFFF#000000##000000
##C287EB1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CEF
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#BD96AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c287eb;
/* rgb */ color: rgb(194, 135, 235);
/* oklch */ color: oklch(72.0% 0.152 310.2);
Tailwind
colors: {
  custom: {
    50: '#d6abf2',
    500: '#c287eb',
    950: '#000000',
  },
}
SCSS
$custom: #c287eb;
$custom-light: #d6abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c287eb",
  "rgb": {
    "r": 194,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 275.4,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71987,
    "c": 0.15249,
    "h": 310.2
  },
  "luminance": 0.34795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C287EB

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

Preview Lab → · Contrast checker → · Palette generator →

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