#C386FB#C386FB

#C386FB is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.7% C 0.173 H 306.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#C386FB
RGBrgb(195, 134, 251)
HSLhsl(271, 94%, 75%)
HSVhsv(271, 47%, 98%)
CMYKcmyk(22.3%, 46.6%, 0%, 1.6%)
CIE-LABlab(66.23, 44.96, -49.72)
CIE-LCHlch(66.23, 67.03, 312.12°)
OKLaboklab(72.73% 0.1034 -0.139)
OKLCHoklch(72.73% 0.173 306.6)
XYZxyz(48.4398, 35.6178, 95.5711)
Luminance0.3562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C386FB #BEFB86
analogous
#8886FB #C386FB #FB86F9
triadic
#C386FB #FBC386 #86FBC3
tetradic
#C386FB #FB8886 #BEFB86 #86F9FB
square
#C386FB #FB8886 #BEFB86 #86F9FB
split-complementary
#C386FB #F9FB86 #86FB88
monochromatic
#8810F7 #A64BF9 #C386FB #E0C1FD #F0E1FE

Accessibility & contrast

On white

2.59
#C386FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#C386FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C386FB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C386FB#FFFFFF#000000##000000
##C386FB1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#77A2F8
Tritanopia (blue-blind)
#BB9AB5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c386fb;
/* rgb */ color: rgb(195, 134, 251);
/* oklch */ color: oklch(72.7% 0.173 306.6);
Tailwind
colors: {
  custom: {
    50: '#d7aafd',
    500: '#c386fb',
    950: '#000000',
  },
}
SCSS
$custom: #c386fb;
$custom-light: #d7aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#c386fb",
  "rgb": {
    "r": 195,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 271.282,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72732,
    "c": 0.17322,
    "h": 306.6
  },
  "luminance": 0.35617
}

Semantic roles & 50–950 ramp

primary
#C386FB
secondary
#E5F6D5
accent
#E6006E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C386FB

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

Preview Lab → · Contrast checker → · Palette generator →

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