#C386EF#C386EF

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

Color values

HEX#C386EF
RGBrgb(195, 134, 239)
HSLhsl(275, 77%, 73%)
HSVhsv(275, 44%, 94%)
CMYKcmyk(18.4%, 43.9%, 0%, 6.3%)
CIE-LABlab(65.66, 42.31, -44.03)
CIE-LCHlch(65.66, 61.06, 313.86°)
OKLaboklab(72.12% 0.1017 -0.1225)
OKLCHoklch(72.12% 0.159 309.7)
XYZxyz(46.6079, 34.8850, 85.9228)
Luminance0.3488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C386EF #B2EF86
analogous
#8E86EF #C386EF #EF86E6
triadic
#C386EF #EFC386 #86EFC3
tetradic
#C386EF #EF8E86 #B2EF86 #86E6EF
square
#C386EF #EF8E86 #B2EF86 #86E6EF
split-complementary
#C386EF #E6EF86 #86EF8E
monochromatic
#8D1DDD #A850E8 #C386EF #DEBCF6 #F2E4FB

Accessibility & contrast

On white

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

On black

7.98
#C386EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C386EF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C386EF#FFFFFF#000000##000000
##C386EF1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9DF3
Deuteranopia (green-blind)
#7EA1EC
Tritanopia (blue-blind)
#BE96AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c386ef;
/* rgb */ color: rgb(195, 134, 239);
/* oklch */ color: oklch(72.1% 0.159 309.7);
Tailwind
colors: {
  custom: {
    50: '#d7aaf4',
    500: '#c386ef',
    950: '#000000',
  },
}
SCSS
$custom: #c386ef;
$custom-light: #d7aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c386ef",
  "rgb": {
    "r": 195,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 274.857,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72122,
    "c": 0.15918,
    "h": 309.7
  },
  "luminance": 0.34884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C386EF

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

Preview Lab → · Contrast checker → · Palette generator →

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