#C096FA#C096FA

#C096FA is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.0% C 0.146 H 302.4°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#C096FA
RGBrgb(192, 150, 250)
HSLhsl(265, 91%, 78%)
HSVhsv(265, 40%, 98%)
CMYKcmyk(23.2%, 40%, 0%, 2%)
CIE-LABlab(69.41, 35.19, -44.18)
CIE-LCHlch(69.41, 56.48, 308.53°)
OKLaboklab(75.04% 0.078 -0.123)
OKLCHoklch(75.04% 0.146 302.4)
XYZxyz(49.8962, 39.9213, 95.5009)
Luminance0.3992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C096FA #D0FA96
analogous
#969EFA #C096FA #F296FA
triadic
#C096FA #FAC096 #96FAC0
tetradic
#C096FA #FA969E #D0FA96 #96FAF2
square
#C096FA #FA969E #D0FA96 #96FAF2
split-complementary
#C096FA #FAF296 #9EFA96
monochromatic
#7A21F4 #9D5CF7 #C096FA #E3D0FD #EDE2FE

Accessibility & contrast

On white

2.34
#C096FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#C096FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C096FA
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C096FA#FFFFFF#000000##000000
##C096FA1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FE
Deuteranopia (green-blind)
#86A9F7
Tritanopia (blue-blind)
#B6A6BC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c096fa;
/* rgb */ color: rgb(192, 150, 250);
/* oklch */ color: oklch(75.0% 0.146 302.4);
Tailwind
colors: {
  custom: {
    50: '#d5b5fc',
    500: '#c096fa',
    950: '#000000',
  },
}
SCSS
$custom: #c096fa;
$custom-light: #d5b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c096fa",
  "rgb": {
    "r": 192,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 265.2,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75044,
    "c": 0.14568,
    "h": 302.4
  },
  "luminance": 0.39921
}

Semantic roles & 50–950 ramp

primary
#C096FA
secondary
#E8F6D5
accent
#E60085
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C096FA

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

Preview Lab → · Contrast checker → · Palette generator →

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