#CC92FB#CC92FB

#CC92FB is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.6% C 0.157 H 308.5°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#CC92FB
RGBrgb(204, 146, 251)
HSLhsl(273, 93%, 78%)
HSVhsv(273, 42%, 98%)
CMYKcmyk(18.7%, 41.8%, 0%, 1.6%)
CIE-LABlab(69.73, 40.97, -44.15)
CIE-LCHlch(69.73, 60.24, 312.86°)
OKLaboklab(75.56% 0.0976 -0.1227)
OKLCHoklch(75.56% 0.157 308.5)
XYZxyz(52.5900, 40.3608, 96.2680)
Luminance0.4036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC92FB #C1FB92
analogous
#9792FB #CC92FB #FB92F5
triadic
#CC92FB #FBCC92 #92FBCC
tetradic
#CC92FB #FB9792 #C1FB92 #92F5FB
square
#CC92FB #FB9792 #C1FB92 #92F5FB
split-complementary
#CC92FB #F5FB92 #92FB97
monochromatic
#951CF7 #B057F9 #CC92FB #E8CDFD #F1E1FE

Accessibility & contrast

On white

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

On black

9.07
#CC92FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC92FB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC92FB#FFFFFF#000000##000000
##CC92FB1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#C6A2BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc92fb;
/* rgb */ color: rgb(204, 146, 251);
/* oklch */ color: oklch(75.6% 0.157 308.5);
Tailwind
colors: {
  custom: {
    50: '#ddb3fd',
    500: '#cc92fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc92fb;
$custom-light: #ddb3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc92fb",
  "rgb": {
    "r": 204,
    "g": 146,
    "b": 251
  },
  "hsl": {
    "h": 273.143,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75562,
    "c": 0.15678,
    "h": 308.5
  },
  "luminance": 0.4036
}

Semantic roles & 50–950 ramp

primary
#CC92FB
secondary
#E4F6D5
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC92FB

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

Preview Lab → · Contrast checker → · Palette generator →

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