#C386EA#C386EA

#C386EA is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.9% C 0.153 H 311.1°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#C386EA
RGBrgb(195, 134, 234)
HSLhsl(277, 70%, 72%)
HSVhsv(277, 43%, 92%)
CMYKcmyk(16.7%, 42.7%, 0%, 8.2%)
CIE-LABlab(65.43, 41.22, -41.63)
CIE-LCHlch(65.43, 58.59, 314.72°)
OKLaboklab(71.88% 0.1009 -0.1155)
OKLCHoklch(71.88% 0.153 311.1)
XYZxyz(45.8794, 34.5936, 82.0863)
Luminance0.3459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C386EA #ADEA86
analogous
#9186EA #C386EA #EA86DF
triadic
#C386EA #EAC386 #86EAC3
tetradic
#C386EA #EA9186 #ADEA86 #86DFEA
square
#C386EA #EA9186 #ADEA86 #86DFEA
split-complementary
#C386EA #DFEA86 #86EA91
monochromatic
#8E24D1 #A952E1 #C386EA #DDBAF3 #F2E5FA

Accessibility & contrast

On white

2.65
#C386EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#C386EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C386EA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C386EA#FFFFFF#000000##000000
##C386EA1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#81A0E7
Tritanopia (blue-blind)
#BF95AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c386ea;
/* rgb */ color: rgb(195, 134, 234);
/* oklch */ color: oklch(71.9% 0.153 311.1);
Tailwind
colors: {
  custom: {
    50: '#d7aaf1',
    500: '#c386ea',
    950: '#000000',
  },
}
SCSS
$custom: #c386ea;
$custom-light: #d7aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c386ea",
  "rgb": {
    "r": 195,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 276.6,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71877,
    "c": 0.15336,
    "h": 311.1
  },
  "luminance": 0.34593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C386EA

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

Preview Lab → · Contrast checker → · Palette generator →

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