#C396DF#C396DF

#C396DF is a light, moderate violet. Relative luminance 0.387; OKLCH L 74.1% C 0.113 H 311.9°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#C396DF
RGBrgb(195, 150, 223)
HSLhsl(277, 53%, 73%)
HSVhsv(277, 33%, 87%)
CMYKcmyk(12.6%, 32.7%, 0%, 12.5%)
CIE-LABlab(68.56, 30.12, -30.68)
CIE-LCHlch(68.56, 43.00, 314.47°)
OKLaboklab(74.09% 0.0756 -0.0842)
OKLCHoklch(74.09% 0.113 311.9)
XYZxyz(46.7290, 38.7432, 74.8142)
Luminance0.3874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C396DF #B2DF96
analogous
#9E96DF #C396DF #DF96D7
triadic
#C396DF #DFC396 #96DFC3
tetradic
#C396DF #DF9E96 #B2DF96 #96D7DF
square
#C396DF #DF9E96 #B2DF96 #96D7DF
split-complementary
#C396DF #D7DF96 #96DF9E
monochromatic
#8D3BC0 #A867D1 #C396DF #DEC5ED #F2E8F8

Accessibility & contrast

On white

2.40
#C396DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#C396DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C396DF
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C396DF#FFFFFF#000000##000000
##C396DF1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA5E2
Deuteranopia (green-blind)
#94A8DD
Tritanopia (blue-blind)
#C0A0B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c396df;
/* rgb */ color: rgb(195, 150, 223);
/* oklch */ color: oklch(74.1% 0.113 311.9);
Tailwind
colors: {
  custom: {
    50: '#d6b5e9',
    500: '#c396df',
    950: '#000000',
  },
}
SCSS
$custom: #c396df;
$custom-light: #d6b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c396df",
  "rgb": {
    "r": 195,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 276.986,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74094,
    "c": 0.11319,
    "h": 311.9
  },
  "luminance": 0.38743
}

Semantic roles & 50–950 ramp

primary
#C396DF
secondary
#E3EFDC
accent
#C12561
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C396DF

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

Preview Lab → · Contrast checker → · Palette generator →

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