#CC92EE#CC92EE

#CC92EE is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.0% C 0.142 H 312.3°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CC92EE
RGBrgb(204, 146, 238)
HSLhsl(278, 73%, 75%)
HSVhsv(278, 39%, 93%)
CMYKcmyk(14.3%, 38.7%, 0%, 6.7%)
CIE-LABlab(69.16, 38.19, -37.93)
CIE-LCHlch(69.16, 53.83, 315.19°)
OKLaboklab(74.95% 0.0952 -0.1048)
OKLCHoklch(74.95% 0.142 312.3)
XYZxyz(50.6107, 39.5691, 85.8438)
Luminance0.3957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC92EE #B4EE92
analogous
#9E92EE #CC92EE #EE92E2
triadic
#CC92EE #EECC92 #92EECC
tetradic
#CC92EE #EE9E92 #B4EE92 #92E2EE
square
#CC92EE #EE9E92 #B4EE92 #92E2EE
split-complementary
#CC92EE #E2EE92 #92EE9E
monochromatic
#9A28DD #B35DE6 #CC92EE #E5C7F6 #F3E5FB

Accessibility & contrast

On white

2.36
#CC92EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CC92EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC92EE
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC92EE#FFFFFF#000000##000000
##CC92EE1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F1
Deuteranopia (green-blind)
#8FAAEB
Tritanopia (blue-blind)
#C99FB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc92ee;
/* rgb */ color: rgb(204, 146, 238);
/* oklch */ color: oklch(75.0% 0.142 312.3);
Tailwind
colors: {
  custom: {
    50: '#ddb3f4',
    500: '#cc92ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc92ee;
$custom-light: #ddb3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc92ee",
  "rgb": {
    "r": 204,
    "g": 146,
    "b": 238
  },
  "hsl": {
    "h": 277.826,
    "s": 73.016,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74952,
    "c": 0.14154,
    "h": 312.3
  },
  "luminance": 0.39568
}

Semantic roles & 50–950 ramp

primary
#CC92EE
secondary
#E2F3D8
accent
#D51059
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC92EE

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

Preview Lab → · Contrast checker → · Palette generator →

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