#CC92EC#CC92EC

#CC92EC is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.9% C 0.139 H 312.9°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#CC92EC
RGBrgb(204, 146, 236)
HSLhsl(279, 70%, 75%)
HSVhsv(279, 38%, 93%)
CMYKcmyk(13.6%, 38.1%, 0%, 7.5%)
CIE-LABlab(69.08, 37.77, -36.97)
CIE-LCHlch(69.08, 52.85, 315.62°)
OKLaboklab(74.86% 0.0948 -0.102)
OKLCHoklch(74.86% 0.139 312.9)
XYZxyz(50.3185, 39.4522, 84.3049)
Luminance0.3945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC92EC #B2EC92
analogous
#9F92EC #CC92EC #EC92DF
triadic
#CC92EC #ECCC92 #92ECCC
tetradic
#CC92EC #EC9F92 #B2EC92 #92DFEC
square
#CC92EC #EC9F92 #B2EC92 #92DFEC
split-complementary
#CC92EC #DFEC92 #92EC9F
monochromatic
#9B2ADA #B45EE3 #CC92EC #E4C6F5 #F3E5FA

Accessibility & contrast

On white

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

On black

8.89
#CC92EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC92EC
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC92EC#FFFFFF#000000##000000
##CC92EC1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EF
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#C99EB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc92ec;
/* rgb */ color: rgb(204, 146, 236);
/* oklch */ color: oklch(74.9% 0.139 312.9);
Tailwind
colors: {
  custom: {
    50: '#ddb3f2',
    500: '#cc92ec',
    950: '#000000',
  },
}
SCSS
$custom: #cc92ec;
$custom-light: #ddb3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc92ec",
  "rgb": {
    "r": 204,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 278.667,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74861,
    "c": 0.13922,
    "h": 312.9
  },
  "luminance": 0.39451
}

Semantic roles & 50–950 ramp

primary
#CC92EC
secondary
#E2F2D9
accent
#D21357
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC92EC

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

Preview Lab → · Contrast checker → · Palette generator →

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