#C387EE#C387EE

#C387EE is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.2% C 0.156 H 309.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#C387EE
RGBrgb(195, 135, 238)
HSLhsl(275, 75%, 73%)
HSVhsv(275, 43%, 93%)
CMYKcmyk(18.1%, 43.3%, 0%, 6.7%)
CIE-LABlab(65.83, 41.55, -43.21)
CIE-LCHlch(65.83, 59.94, 313.88°)
OKLaboklab(72.24% 0.1002 -0.1201)
OKLCHoklch(72.24% 0.156 309.8)
XYZxyz(46.5994, 35.1038, 85.1932)
Luminance0.3510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C387EE #B2EE87
analogous
#8F87EE #C387EE #EE87E6
triadic
#C387EE #EEC387 #87EEC3
tetradic
#C387EE #EE8F87 #B2EE87 #87E6EE
square
#C387EE #EE8F87 #B2EE87 #87E6EE
split-complementary
#C387EE #E6EE87 #87EE8F
monochromatic
#8D1FDC #A851E6 #C387EE #DEBDF6 #F2E4FB

Accessibility & contrast

On white

2.62
#C387EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#C387EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C387EE
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C387EE#FFFFFF#000000##000000
##C387EE1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF2
Deuteranopia (green-blind)
#80A1EB
Tritanopia (blue-blind)
#BE97AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c387ee;
/* rgb */ color: rgb(195, 135, 238);
/* oklch */ color: oklch(72.2% 0.156 309.8);
Tailwind
colors: {
  custom: {
    50: '#d7abf4',
    500: '#c387ee',
    950: '#000000',
  },
}
SCSS
$custom: #c387ee;
$custom-light: #d7abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c387ee",
  "rgb": {
    "r": 195,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 274.951,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72235,
    "c": 0.15637,
    "h": 309.8
  },
  "luminance": 0.35103
}

Semantic roles & 50–950 ramp

primary
#C387EE
secondary
#E3F3D8
accent
#D70E62
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C387EE

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

Preview Lab → · Contrast checker → · Palette generator →

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