#CC92EB#CC92EB

#CC92EB is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.8% C 0.138 H 313.2°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CC92EB
RGBrgb(204, 146, 235)
HSLhsl(279, 69%, 75%)
HSVhsv(279, 38%, 92%)
CMYKcmyk(13.2%, 37.9%, 0%, 7.8%)
CIE-LABlab(69.04, 37.56, -36.48)
CIE-LCHlch(69.04, 52.36, 315.83°)
OKLaboklab(74.82% 0.0946 -0.1006)
OKLCHoklch(74.82% 0.138 313.2)
XYZxyz(50.1736, 39.3942, 83.5419)
Luminance0.3939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC92EB #B1EB92
analogous
#A092EB #CC92EB #EB92DE
triadic
#CC92EB #EBCC92 #92EBCC
tetradic
#CC92EB #EBA092 #B1EB92 #92DEEB
square
#CC92EB #EBA092 #B1EB92 #92DEEB
split-complementary
#CC92EB #DEEB92 #92EBA0
monochromatic
#9C2BD8 #B45EE2 #CC92EB #E4C6F4 #F3E5FA

Accessibility & contrast

On white

2.37
#CC92EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#CC92EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC92EB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC92EB#FFFFFF#000000##000000
##CC92EB1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EE
Deuteranopia (green-blind)
#90AAE8
Tritanopia (blue-blind)
#CA9EB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc92eb;
/* rgb */ color: rgb(204, 146, 235);
/* oklch */ color: oklch(74.8% 0.138 313.2);
Tailwind
colors: {
  custom: {
    50: '#ddb3f1',
    500: '#cc92eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc92eb;
$custom-light: #ddb3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc92eb",
  "rgb": {
    "r": 204,
    "g": 146,
    "b": 235
  },
  "hsl": {
    "h": 279.101,
    "s": 68.992,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74816,
    "c": 0.13806,
    "h": 313.2
  },
  "luminance": 0.39393
}

Semantic roles & 50–950 ramp

primary
#CC92EB
secondary
#E2F2D9
accent
#D11556
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC92EB

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

Preview Lab → · Contrast checker → · Palette generator →

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