#C386FF#C386FF

#C386FF is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.9% C 0.178 H 305.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#C386FF
RGBrgb(195, 134, 255)
HSLhsl(270, 100%, 76%)
HSVhsv(270, 47%, 100%)
CMYKcmyk(23.5%, 47.5%, 0%, 0%)
CIE-LABlab(66.42, 45.86, -51.60)
CIE-LCHlch(66.42, 69.03, 311.63°)
OKLaboklab(72.94% 0.1039 -0.1444)
OKLCHoklch(72.94% 0.178 305.7)
XYZxyz(49.0770, 35.8726, 98.9270)
Luminance0.3587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C386FF #C2FF86
analogous
#8786FF #C386FF #FF86FE
triadic
#C386FF #FFC386 #86FFC3
tetradic
#C386FF #FF8786 #C2FF86 #86FEFF
square
#C386FF #FF8786 #C2FF86 #86FEFF
split-complementary
#C386FF #FEFF86 #86FF87
monochromatic
#860CFF #A549FF #C386FF #E1C3FF #F0E0FF

Accessibility & contrast

On white

2.57
#C386FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#C386FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C386FF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C386FF#FFFFFF#000000##000000
##C386FF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#65A0FF
Deuteranopia (green-blind)
#75A2FC
Tritanopia (blue-blind)
#BA9BB7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c386ff;
/* rgb */ color: rgb(195, 134, 255);
/* oklch */ color: oklch(72.9% 0.178 305.7);
Tailwind
colors: {
  custom: {
    50: '#d7aaff',
    500: '#c386ff',
    950: '#000000',
  },
}
SCSS
$custom: #c386ff;
$custom-light: #d7aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#c386ff",
  "rgb": {
    "r": 195,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 270.248,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72942,
    "c": 0.17791,
    "h": 305.7
  },
  "luminance": 0.35872
}

Semantic roles & 50–950 ramp

primary
#C386FF
secondary
#E5F7D4
accent
#E60072
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C386FF

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

Preview Lab → · Contrast checker → · Palette generator →

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