#C386EB#C386EB

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

Color values

HEX#C386EB
RGBrgb(195, 134, 235)
HSLhsl(276, 72%, 72%)
HSVhsv(276, 43%, 92%)
CMYKcmyk(17%, 43%, 0%, 7.8%)
CIE-LABlab(65.48, 41.44, -42.11)
CIE-LCHlch(65.48, 59.08, 314.54°)
OKLaboklab(71.93% 0.101 -0.1169)
OKLCHoklch(71.93% 0.155 310.8)
XYZxyz(46.0235, 34.6512, 82.8450)
Luminance0.3465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C386EB #AEEB86
analogous
#9186EB #C386EB #EB86E0
triadic
#C386EB #EBC386 #86EBC3
tetradic
#C386EB #EB9186 #AEEB86 #86E0EB
square
#C386EB #EB9186 #AEEB86 #86E0EB
split-complementary
#C386EB #E0EB86 #86EB91
monochromatic
#8E23D4 #A951E2 #C386EB #DDBBF4 #F2E5FB

Accessibility & contrast

On white

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

On black

7.93
#C386EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C386EB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C386EB#FFFFFF#000000##000000
##C386EB1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#BF95AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c386eb;
/* rgb */ color: rgb(195, 134, 235);
/* oklch */ color: oklch(71.9% 0.155 310.8);
Tailwind
colors: {
  custom: {
    50: '#d7aaf2',
    500: '#c386eb',
    950: '#000000',
  },
}
SCSS
$custom: #c386eb;
$custom-light: #d7aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c386eb",
  "rgb": {
    "r": 195,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 276.238,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71925,
    "c": 0.15452,
    "h": 310.8
  },
  "luminance": 0.3465
}

Semantic roles & 50–950 ramp

primary
#C386EB
secondary
#E3F2D9
accent
#D4125F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C386EB

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

Preview Lab → · Contrast checker → · Palette generator →

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