#C196FB#C196FB

#C196FB is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.2% C 0.147 H 302.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#C196FB
RGBrgb(193, 150, 251)
HSLhsl(266, 93%, 79%)
HSVhsv(266, 40%, 98%)
CMYKcmyk(23.1%, 40.2%, 0%, 1.6%)
CIE-LABlab(69.55, 35.70, -44.50)
CIE-LCHlch(69.55, 57.05, 308.73°)
OKLaboklab(75.19% 0.0794 -0.1239)
OKLCHoklch(75.19% 0.147 302.6)
XYZxyz(50.3075, 40.1152, 96.3408)
Luminance0.4012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C196FB #D0FB96
analogous
#969DFB #C196FB #F496FB
triadic
#C196FB #FBC196 #96FBC1
tetradic
#C196FB #FB969D #D0FB96 #96FBF4
square
#C196FB #FB969D #D0FB96 #96FBF4
split-complementary
#C196FB #FBF496 #9DFB96
monochromatic
#7B20F7 #9E5BF9 #C196FB #E4D1FD #EEE2FE

Accessibility & contrast

On white

2.33
#C196FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#C196FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C196FB
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C196FB#FFFFFF#000000##000000
##C196FB1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#86AAF8
Tritanopia (blue-blind)
#B7A7BD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c196fb;
/* rgb */ color: rgb(193, 150, 251);
/* oklch */ color: oklch(75.2% 0.147 302.6);
Tailwind
colors: {
  custom: {
    50: '#d5b5fd',
    500: '#c196fb',
    950: '#000000',
  },
}
SCSS
$custom: #c196fb;
$custom-light: #d5b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c196fb",
  "rgb": {
    "r": 193,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 265.545,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75185,
    "c": 0.14717,
    "h": 302.6
  },
  "luminance": 0.40115
}

Semantic roles & 50–950 ramp

primary
#C196FB
secondary
#E8F6D5
accent
#E60084
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C196FB

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

Preview Lab → · Contrast checker → · Palette generator →

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