#C396EC#C396EC

#C396EC is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.7% C 0.129 H 307.6°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#C396EC
RGBrgb(195, 150, 236)
HSLhsl(271, 69%, 76%)
HSVhsv(271, 36%, 93%)
CMYKcmyk(17.4%, 36.4%, 0%, 7.5%)
CIE-LABlab(69.09, 32.91, -37.01)
CIE-LCHlch(69.09, 49.53, 311.64°)
OKLaboklab(74.67% 0.0787 -0.1023)
OKLCHoklch(74.67% 0.129 307.6)
XYZxyz(48.5495, 39.4713, 84.4017)
Luminance0.3947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C396EC #BFEC96
analogous
#9896EC #C396EC #EC96EA
triadic
#C396EC #ECC396 #96ECC3
tetradic
#C396EC #EC9896 #BFEC96 #96EAEC
square
#C396EC #EC9896 #BFEC96 #96EAEC
split-complementary
#C396EC #EAEC96 #96EC98
monochromatic
#882ED9 #A562E3 #C396EC #E1CAF5 #F0E5FA

Accessibility & contrast

On white

2.36
#C396EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#C396EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C396EC
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C396EC#FFFFFF#000000##000000
##C396EC1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7EF
Deuteranopia (green-blind)
#8EA9EA
Tritanopia (blue-blind)
#BDA3B6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c396ec;
/* rgb */ color: rgb(195, 150, 236);
/* oklch */ color: oklch(74.7% 0.129 307.6);
Tailwind
colors: {
  custom: {
    50: '#d6b5f2',
    500: '#c396ec',
    950: '#000000',
  },
}
SCSS
$custom: #c396ec;
$custom-light: #d6b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c396ec",
  "rgb": {
    "r": 195,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 271.395,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74667,
    "c": 0.12906,
    "h": 307.6
  },
  "luminance": 0.39471
}

Semantic roles & 50–950 ramp

primary
#C396EC
secondary
#E5F2D9
accent
#D1146E
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C396EC

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

Preview Lab → · Contrast checker → · Palette generator →

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