#CC92EF#CC92EF

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

Color values

HEX#CC92EF
RGBrgb(204, 146, 239)
HSLhsl(277, 74%, 75%)
HSVhsv(277, 39%, 94%)
CMYKcmyk(14.6%, 38.9%, 0%, 6.3%)
CIE-LABlab(69.20, 38.40, -38.41)
CIE-LCHlch(69.20, 54.32, 314.99°)
OKLaboklab(75% 0.0954 -0.1061)
OKLCHoklch(75% 0.143 311.9)
XYZxyz(50.7580, 39.6280, 86.6197)
Luminance0.3963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC92EF #B5EF92
analogous
#9D92EF #CC92EF #EF92E4
triadic
#CC92EF #EFCC92 #92EFCC
tetradic
#CC92EF #EF9D92 #B5EF92 #92E4EF
square
#CC92EF #EF9D92 #B5EF92 #92E4EF
split-complementary
#CC92EF #E4EF92 #92EF9D
monochromatic
#9A27DF #B35DE7 #CC92EF #E5C7F7 #F3E4FB

Accessibility & contrast

On white

2.35
#CC92EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#CC92EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC92EF
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC92EF#FFFFFF#000000##000000
##CC92EF1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A6F2
Deuteranopia (green-blind)
#8EAAEC
Tritanopia (blue-blind)
#C99FB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc92ef;
/* rgb */ color: rgb(204, 146, 239);
/* oklch */ color: oklch(75.0% 0.143 311.9);
Tailwind
colors: {
  custom: {
    50: '#ddb3f4',
    500: '#cc92ef',
    950: '#000000',
  },
}
SCSS
$custom: #cc92ef;
$custom-light: #ddb3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc92ef",
  "rgb": {
    "r": 204,
    "g": 146,
    "b": 239
  },
  "hsl": {
    "h": 277.419,
    "s": 74.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74998,
    "c": 0.14271,
    "h": 311.9
  },
  "luminance": 0.39627
}

Semantic roles & 50–950 ramp

primary
#CC92EF
secondary
#E2F3D8
accent
#D70F5A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC92EF

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

Preview Lab → · Contrast checker → · Palette generator →

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