#C396DC#C396DC

#C396DC is a light, moderate violet. Relative luminance 0.386; OKLCH L 74.0% C 0.110 H 313.1°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#C396DC
RGBrgb(195, 150, 220)
HSLhsl(279, 50%, 73%)
HSVhsv(279, 32%, 86%)
CMYKcmyk(11.4%, 31.8%, 0%, 13.7%)
CIE-LABlab(68.45, 29.49, -29.21)
CIE-LCHlch(68.45, 41.51, 315.28°)
OKLaboklab(73.97% 0.0749 -0.08)
OKLCHoklch(73.97% 0.11 313.1)
XYZxyz(46.3282, 38.5828, 72.7029)
Luminance0.3858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C396DC #AFDC96
analogous
#A096DC #C396DC #DC96D2
triadic
#C396DC #DCC396 #96DCC3
tetradic
#C396DC #DCA096 #AFDC96 #96D2DC
square
#C396DC #DCA096 #AFDC96 #96D2DC
split-complementary
#C396DC #D2DC96 #96DCA0
monochromatic
#8D3EBA #A968CD #C396DC #DDC4EB #F2E8F7

Accessibility & contrast

On white

2.41
#C396DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#C396DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C396DC
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C396DC#FFFFFF#000000##000000
##C396DC1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA4DF
Deuteranopia (green-blind)
#95A8DA
Tritanopia (blue-blind)
#C19FAF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c396dc;
/* rgb */ color: rgb(195, 150, 220);
/* oklch */ color: oklch(74.0% 0.110 313.1);
Tailwind
colors: {
  custom: {
    50: '#d6b5e7',
    500: '#c396dc',
    950: '#000000',
  },
}
SCSS
$custom: #c396dc;
$custom-light: #d6b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c396dc",
  "rgb": {
    "r": 195,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 278.571,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73966,
    "c": 0.10959,
    "h": 313.1
  },
  "luminance": 0.38582
}

Semantic roles & 50–950 ramp

primary
#C396DC
secondary
#E3EEDD
accent
#BD285D
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C396DC

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

Preview Lab → · Contrast checker → · Palette generator →

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