#C387EA#C387EA

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

Color values

HEX#C387EA
RGBrgb(195, 135, 234)
HSLhsl(276, 70%, 72%)
HSVhsv(276, 42%, 92%)
CMYKcmyk(16.7%, 42.3%, 0%, 8.2%)
CIE-LABlab(65.65, 40.68, -41.29)
CIE-LCHlch(65.65, 57.96, 314.58°)
OKLaboklab(72.04% 0.0995 -0.1145)
OKLCHoklch(72.04% 0.152 311)
XYZxyz(46.0183, 34.8713, 82.1326)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C387EA #AEEA87
analogous
#9287EA #C387EA #EA87DF
triadic
#C387EA #EAC387 #87EAC3
tetradic
#C387EA #EA9287 #AEEA87 #87DFEA
square
#C387EA #EA9287 #AEEA87 #87DFEA
split-complementary
#C387EA #DFEA87 #87EA92
monochromatic
#8E25D2 #A953E1 #C387EA #DDBBF3 #F2E5FA

Accessibility & contrast

On white

2.63
#C387EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#C387EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C387EA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C387EA#FFFFFF#000000##000000
##C387EA1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CEE
Deuteranopia (green-blind)
#82A1E7
Tritanopia (blue-blind)
#BF96AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c387ea;
/* rgb */ color: rgb(195, 135, 234);
/* oklch */ color: oklch(72.0% 0.152 311.0);
Tailwind
colors: {
  custom: {
    50: '#d7abf1',
    500: '#c387ea',
    950: '#000000',
  },
}
SCSS
$custom: #c387ea;
$custom-light: #d7abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c387ea",
  "rgb": {
    "r": 195,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 276.364,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7204,
    "c": 0.1517,
    "h": 311
  },
  "luminance": 0.34871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C387EA

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

Preview Lab → · Contrast checker → · Palette generator →

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