#C396FC#C396FC

#C396FC is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.4% C 0.149 H 303.4°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#C396FC
RGBrgb(195, 150, 252)
HSLhsl(266, 94%, 79%)
HSVhsv(266, 40%, 99%)
CMYKcmyk(22.6%, 40.5%, 0%, 1.2%)
CIE-LABlab(69.78, 36.49, -44.67)
CIE-LCHlch(69.78, 57.68, 309.24°)
OKLaboklab(75.42% 0.0819 -0.1244)
OKLCHoklch(75.42% 0.149 303.4)
XYZxyz(50.9790, 40.4432, 97.1972)
Luminance0.4044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C396FC #CFFC96
analogous
#969CFC #C396FC #F696FC
triadic
#C396FC #FCC396 #96FCC3
tetradic
#C396FC #FC969C #CFFC96 #96FCF6
square
#C396FC #FC969C #CFFC96 #96FCF6
split-complementary
#C396FC #FCF696 #9CFC96
monochromatic
#7F1FF9 #A15BFA #C396FC #E5D2FE #EEE1FE

Accessibility & contrast

On white

2.31
#C396FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#C396FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C396FC
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C396FC#FFFFFF#000000##000000
##C396FC1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#87AAF9
Tritanopia (blue-blind)
#B9A7BD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c396fc;
/* rgb */ color: rgb(195, 150, 252);
/* oklch */ color: oklch(75.4% 0.149 303.4);
Tailwind
colors: {
  custom: {
    50: '#d7b5fe',
    500: '#c396fc',
    950: '#000000',
  },
}
SCSS
$custom: #c396fc;
$custom-light: #d7b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c396fc",
  "rgb": {
    "r": 195,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 266.471,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75419,
    "c": 0.1489,
    "h": 303.4
  },
  "luminance": 0.40443
}

Semantic roles & 50–950 ramp

primary
#C396FC
secondary
#E7F6D5
accent
#E60080
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C396FC

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

Preview Lab → · Contrast checker → · Palette generator →

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