#C387EF#C387EF

#C387EF is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.3% C 0.158 H 309.5°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#C387EF
RGBrgb(195, 135, 239)
HSLhsl(275, 76%, 73%)
HSVhsv(275, 44%, 94%)
CMYKcmyk(18.4%, 43.5%, 0%, 6.3%)
CIE-LABlab(65.88, 41.77, -43.69)
CIE-LCHlch(65.88, 60.44, 313.71°)
OKLaboklab(72.28% 0.1003 -0.1215)
OKLCHoklch(72.28% 0.158 309.5)
XYZxyz(46.7467, 35.1627, 85.9691)
Luminance0.3516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C387EF #B3EF87
analogous
#8F87EF #C387EF #EF87E7
triadic
#C387EF #EFC387 #87EFC3
tetradic
#C387EF #EF8F87 #B3EF87 #87E7EF
square
#C387EF #EF8F87 #B3EF87 #87E7EF
split-complementary
#C387EF #E7EF87 #87EF8F
monochromatic
#8D1EDE #A851E8 #C387EF #DEBDF6 #F1E4FB

Accessibility & contrast

On white

2.61
#C387EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#C387EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C387EF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C387EF#FFFFFF#000000##000000
##C387EF1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#BE97B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c387ef;
/* rgb */ color: rgb(195, 135, 239);
/* oklch */ color: oklch(72.3% 0.158 309.5);
Tailwind
colors: {
  custom: {
    50: '#d7abf4',
    500: '#c387ef',
    950: '#000000',
  },
}
SCSS
$custom: #c387ef;
$custom-light: #d7abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c387ef",
  "rgb": {
    "r": 195,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 274.615,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72284,
    "c": 0.15754,
    "h": 309.5
  },
  "luminance": 0.35162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C387EF

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

Preview Lab → · Contrast checker → · Palette generator →

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