#CC92FE#CC92FE

#CC92FE is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.7% C 0.160 H 307.7°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#CC92FE
RGBrgb(204, 146, 254)
HSLhsl(272, 98%, 78%)
HSVhsv(272, 43%, 100%)
CMYKcmyk(19.7%, 42.5%, 0%, 0.4%)
CIE-LABlab(69.86, 41.63, -45.58)
CIE-LCHlch(69.86, 61.73, 312.41°)
OKLaboklab(75.71% 0.0981 -0.1268)
OKLCHoklch(75.71% 0.16 307.7)
XYZxyz(53.0666, 40.5514, 98.7783)
Luminance0.4055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC92FE #C4FE92
analogous
#9692FE #CC92FE #FE92FA
triadic
#CC92FE #FECC92 #92FECC
tetradic
#CC92FE #FE9692 #C4FE92 #92FAFE
square
#CC92FE #FE9692 #C4FE92 #92FAFE
split-complementary
#CC92FE #FAFE92 #92FE96
monochromatic
#9319FD #B055FD #CC92FE #E8CFFF #F1E1FF

Accessibility & contrast

On white

2.31
#CC92FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#CC92FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC92FE
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC92FE#FFFFFF#000000##000000
##CC92FE1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#87ABFB
Tritanopia (blue-blind)
#C5A3BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc92fe;
/* rgb */ color: rgb(204, 146, 254);
/* oklch */ color: oklch(75.7% 0.160 307.7);
Tailwind
colors: {
  custom: {
    50: '#ddb3ff',
    500: '#cc92fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc92fe;
$custom-light: #ddb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc92fe",
  "rgb": {
    "r": 204,
    "g": 146,
    "b": 254
  },
  "hsl": {
    "h": 272.222,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75708,
    "c": 0.16033,
    "h": 307.7
  },
  "luminance": 0.40551
}

Semantic roles & 50–950 ramp

primary
#CC92FE
secondary
#E4F7D4
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC92FE

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

Preview Lab → · Contrast checker → · Palette generator →

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