#C096FE#C096FE

#C096FE is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.2% C 0.151 H 301.5°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#C096FE
RGBrgb(192, 150, 254)
HSLhsl(264, 98%, 79%)
HSVhsv(264, 41%, 100%)
CMYKcmyk(24.4%, 40.9%, 0%, 0.4%)
CIE-LABlab(69.59, 36.11, -46.08)
CIE-LCHlch(69.59, 58.54, 308.09°)
OKLaboklab(75.24% 0.0787 -0.1285)
OKLCHoklch(75.24% 0.151 301.5)
XYZxyz(50.5300, 40.1748, 98.8392)
Luminance0.4017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C096FE #D4FE96
analogous
#96A0FE #C096FE #F496FE
triadic
#C096FE #FEC096 #96FEC0
tetradic
#C096FE #FE96A0 #D4FE96 #96FEF4
square
#C096FE #FE96A0 #D4FE96 #96FEF4
split-complementary
#C096FE #FEF496 #A0FE96
monochromatic
#771DFD #9C59FD #C096FE #E4D3FF #EDE1FF

Accessibility & contrast

On white

2.32
#C096FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#C096FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C096FE
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C096FE#FFFFFF#000000##000000
##C096FE1.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#84AAFB
Tritanopia (blue-blind)
#B5A7BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c096fe;
/* rgb */ color: rgb(192, 150, 254);
/* oklch */ color: oklch(75.2% 0.151 301.5);
Tailwind
colors: {
  custom: {
    50: '#d5b5ff',
    500: '#c096fe',
    950: '#000000',
  },
}
SCSS
$custom: #c096fe;
$custom-light: #d5b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c096fe",
  "rgb": {
    "r": 192,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 264.231,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75239,
    "c": 0.15071,
    "h": 301.5
  },
  "luminance": 0.40175
}

Semantic roles & 50–950 ramp

primary
#C096FE
secondary
#E9F7D4
accent
#E60089
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #C096FE

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

Preview Lab → · Contrast checker → · Palette generator →

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