#C396FF#C396FF

#C396FF is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.6% C 0.153 H 302.7°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#C396FF
RGBrgb(195, 150, 255)
HSLhsl(266, 100%, 79%)
HSVhsv(266, 41%, 100%)
CMYKcmyk(23.5%, 41.2%, 0%, 0%)
CIE-LABlab(69.92, 37.17, -46.09)
CIE-LCHlch(69.92, 59.21, 308.89°)
OKLaboklab(75.57% 0.0824 -0.1285)
OKLCHoklch(75.57% 0.153 302.7)
XYZxyz(51.4581, 40.6348, 99.7207)
Luminance0.4063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C396FF #D2FF96
analogous
#969EFF #C396FF #F796FF
triadic
#C396FF #FFC396 #96FFC3
tetradic
#C396FF #FF969E #D2FF96 #96FFF7
square
#C396FF #FF969E #D2FF96 #96FFF7
split-complementary
#C396FF #FFF796 #9EFF96
monochromatic
#7D1CFF #A059FF #C396FF #E6D3FF #EEE0FF

Accessibility & contrast

On white

2.30
#C396FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#C396FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C396FF
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C396FF#FFFFFF#000000##000000
##C396FF1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BAAFF
Deuteranopia (green-blind)
#85ABFC
Tritanopia (blue-blind)
#B9A7BE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c396ff;
/* rgb */ color: rgb(195, 150, 255);
/* oklch */ color: oklch(75.6% 0.153 302.7);
Tailwind
colors: {
  custom: {
    50: '#d7b5ff',
    500: '#c396ff',
    950: '#000000',
  },
}
SCSS
$custom: #c396ff;
$custom-light: #d7b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c396ff",
  "rgb": {
    "r": 195,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 265.714,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75565,
    "c": 0.15263,
    "h": 302.7
  },
  "luminance": 0.40635
}

Semantic roles & 50–950 ramp

primary
#C396FF
secondary
#E8F7D4
accent
#E60083
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C396FF

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

Preview Lab → · Contrast checker → · Palette generator →

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