#C396FE#C396FE

#C396FE is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.5% C 0.151 H 302.9°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#C396FE
RGBrgb(195, 150, 254)
HSLhsl(266, 98%, 79%)
HSVhsv(266, 41%, 100%)
CMYKcmyk(23.2%, 40.9%, 0%, 0.4%)
CIE-LABlab(69.87, 36.94, -45.62)
CIE-LCHlch(69.87, 58.70, 309.00°)
OKLaboklab(75.52% 0.0822 -0.1271)
OKLCHoklch(75.52% 0.151 302.9)
XYZxyz(51.2976, 40.5706, 98.8751)
Luminance0.4057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C396FE #D1FE96
analogous
#969DFE #C396FE #F796FE
triadic
#C396FE #FEC396 #96FEC3
tetradic
#C396FE #FE969D #D1FE96 #96FEF7
square
#C396FE #FE969D #D1FE96 #96FEF7
split-complementary
#C396FE #FEF796 #9DFE96
monochromatic
#7E1DFD #A059FD #C396FE #E6D3FF #EEE1FF

Accessibility & contrast

On white

2.30
#C396FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#C396FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C396FE
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C396FE#FFFFFF#000000##000000
##C396FE1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#86ABFB
Tritanopia (blue-blind)
#B9A7BE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c396fe;
/* rgb */ color: rgb(195, 150, 254);
/* oklch */ color: oklch(75.5% 0.151 302.9);
Tailwind
colors: {
  custom: {
    50: '#d7b5ff',
    500: '#c396fe',
    950: '#000000',
  },
}
SCSS
$custom: #c396fe;
$custom-light: #d7b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c396fe",
  "rgb": {
    "r": 195,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 265.962,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75516,
    "c": 0.15138,
    "h": 302.9
  },
  "luminance": 0.40571
}

Semantic roles & 50–950 ramp

primary
#C396FE
secondary
#E8F7D4
accent
#E60082
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C396FE

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

Preview Lab → · Contrast checker → · Palette generator →

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