#C387EB#C387EB

#C387EB is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.1% C 0.153 H 310.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#C387EB
RGBrgb(195, 135, 235)
HSLhsl(276, 71%, 73%)
HSVhsv(276, 43%, 92%)
CMYKcmyk(17%, 42.6%, 0%, 7.8%)
CIE-LABlab(65.69, 40.90, -41.77)
CIE-LCHlch(65.69, 58.46, 314.40°)
OKLaboklab(72.09% 0.0996 -0.1159)
OKLCHoklch(72.09% 0.153 310.7)
XYZxyz(46.1624, 34.9289, 82.8913)
Luminance0.3493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C387EB #AFEB87
analogous
#9187EB #C387EB #EB87E1
triadic
#C387EB #EBC387 #87EBC3
tetradic
#C387EB #EB9187 #AFEB87 #87E1EB
square
#C387EB #EB9187 #AFEB87 #87E1EB
split-complementary
#C387EB #E1EB87 #87EB91
monochromatic
#8D23D4 #A953E2 #C387EB #DDBBF4 #F2E5FB

Accessibility & contrast

On white

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

On black

7.99
#C387EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C387EB
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C387EB#FFFFFF#000000##000000
##C387EB1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DEF
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#BF96AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c387eb;
/* rgb */ color: rgb(195, 135, 235);
/* oklch */ color: oklch(72.1% 0.153 310.7);
Tailwind
colors: {
  custom: {
    50: '#d7abf2',
    500: '#c387eb',
    950: '#000000',
  },
}
SCSS
$custom: #c387eb;
$custom-light: #d7abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c387eb",
  "rgb": {
    "r": 195,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 276,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72088,
    "c": 0.15287,
    "h": 310.7
  },
  "luminance": 0.34928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C387EB

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

Preview Lab → · Contrast checker → · Palette generator →

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