#C386FC#C386FC

#C386FC is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.8% C 0.174 H 306.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#C386FC
RGBrgb(195, 134, 252)
HSLhsl(271, 95%, 76%)
HSVhsv(271, 47%, 99%)
CMYKcmyk(22.6%, 46.8%, 0%, 1.2%)
CIE-LABlab(66.28, 45.18, -50.19)
CIE-LCHlch(66.28, 67.53, 311.99°)
OKLaboklab(72.78% 0.1035 -0.1403)
OKLCHoklch(72.78% 0.174 306.4)
XYZxyz(48.5979, 35.6810, 96.4035)
Luminance0.3568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C386FC #BFFC86
analogous
#8886FC #C386FC #FC86FA
triadic
#C386FC #FCC386 #86FCC3
tetradic
#C386FC #FC8886 #BFFC86 #86FAFC
square
#C386FC #FC8886 #BFFC86 #86FAFC
split-complementary
#C386FC #FAFC86 #86FC88
monochromatic
#880FF9 #A54AFB #C386FC #E1C2FD #F0E1FE

Accessibility & contrast

On white

2.58
#C386FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#C386FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C386FC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C386FC#FFFFFF#000000##000000
##C386FC1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c386fc;
/* rgb */ color: rgb(195, 134, 252);
/* oklch */ color: oklch(72.8% 0.174 306.4);
Tailwind
colors: {
  custom: {
    50: '#d7aafe',
    500: '#c386fc',
    950: '#000000',
  },
}
SCSS
$custom: #c386fc;
$custom-light: #d7aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#c386fc",
  "rgb": {
    "r": 195,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 271.017,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72784,
    "c": 0.1744,
    "h": 306.4
  },
  "luminance": 0.35681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C386FC

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

Preview Lab → · Contrast checker → · Palette generator →

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