#C396EE#C396EE

#C396EE is a light, vivid violet. Relative luminance 0.396; OKLCH L 74.8% C 0.132 H 307.0°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#C396EE
RGBrgb(195, 150, 238)
HSLhsl(271, 72%, 76%)
HSVhsv(271, 37%, 93%)
CMYKcmyk(18.1%, 37%, 0%, 6.7%)
CIE-LABlab(69.18, 33.35, -37.98)
CIE-LCHlch(69.18, 50.54, 311.29°)
OKLaboklab(74.76% 0.0791 -0.1051)
OKLCHoklch(74.76% 0.132 307)
XYZxyz(48.8416, 39.5882, 85.9406)
Luminance0.3959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C396EE #C1EE96
analogous
#9796EE #C396EE #EE96ED
triadic
#C396EE #EEC396 #96EEC3
tetradic
#C396EE #EE9796 #C1EE96 #96EDEE
square
#C396EE #EE9796 #C1EE96 #96EDEE
split-complementary
#C396EE #EDEE96 #96EE97
monochromatic
#872DDD #A561E5 #C396EE #E1CBF7 #F0E5FB

Accessibility & contrast

On white

2.35
#C396EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#C396EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C396EE
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C396EE#FFFFFF#000000##000000
##C396EE1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7F1
Deuteranopia (green-blind)
#8DA9EC
Tritanopia (blue-blind)
#BDA3B7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c396ee;
/* rgb */ color: rgb(195, 150, 238);
/* oklch */ color: oklch(74.8% 0.132 307.0);
Tailwind
colors: {
  custom: {
    50: '#d6b5f4',
    500: '#c396ee',
    950: '#000000',
  },
}
SCSS
$custom: #c396ee;
$custom-light: #d6b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c396ee",
  "rgb": {
    "r": 195,
    "g": 150,
    "b": 238
  },
  "hsl": {
    "h": 270.682,
    "s": 72.131,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74758,
    "c": 0.13153,
    "h": 307
  },
  "luminance": 0.39588
}

Semantic roles & 50–950 ramp

primary
#C396EE
secondary
#E5F2D9
accent
#D41171
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C396EE

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

Preview Lab → · Contrast checker → · Palette generator →

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