#C396FD#C396FD

#C396FD is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.5% C 0.150 H 303.1°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#C396FD
RGBrgb(195, 150, 253)
HSLhsl(266, 96%, 79%)
HSVhsv(266, 41%, 99%)
CMYKcmyk(22.9%, 40.7%, 0%, 0.8%)
CIE-LABlab(69.83, 36.71, -45.14)
CIE-LCHlch(69.83, 58.19, 309.12°)
OKLaboklab(75.47% 0.082 -0.1257)
OKLCHoklch(75.47% 0.15 303.1)
XYZxyz(51.1379, 40.5067, 98.0340)
Luminance0.4051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C396FD #D0FD96
analogous
#969DFD #C396FD #F796FD
triadic
#C396FD #FDC396 #96FDC3
tetradic
#C396FD #FD969D #D0FD96 #96FDF7
square
#C396FD #FD969D #D0FD96 #96FDF7
split-complementary
#C396FD #FDF796 #9DFD96
monochromatic
#7E1EFB #A15AFC #C396FD #E5D2FE #EEE1FE

Accessibility & contrast

On white

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

On black

9.10
#C396FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C396FD
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C396FD#FFFFFF#000000##000000
##C396FD1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c396fd;
/* rgb */ color: rgb(195, 150, 253);
/* oklch */ color: oklch(75.5% 0.150 303.1);
Tailwind
colors: {
  custom: {
    50: '#d7b5fe',
    500: '#c396fd',
    950: '#000000',
  },
}
SCSS
$custom: #c396fd;
$custom-light: #d7b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c396fd",
  "rgb": {
    "r": 195,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 266.214,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75467,
    "c": 0.15015,
    "h": 303.1
  },
  "luminance": 0.40507
}

Semantic roles & 50–950 ramp

primary
#C396FD
secondary
#E8F7D4
accent
#E60081
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C396FD

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

Preview Lab → · Contrast checker → · Palette generator →

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