#CC92F2#CC92F2

#CC92F2 is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.1% C 0.146 H 311.0°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CC92F2
RGBrgb(204, 146, 242)
HSLhsl(276, 79%, 76%)
HSVhsv(276, 40%, 95%)
CMYKcmyk(15.7%, 39.7%, 0%, 5.1%)
CIE-LABlab(69.33, 39.03, -39.86)
CIE-LCHlch(69.33, 55.79, 314.40°)
OKLaboklab(75.14% 0.096 -0.1103)
OKLCHoklch(75.14% 0.146 311)
XYZxyz(51.2049, 39.8068, 88.9732)
Luminance0.3981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC92F2 #B8F292
analogous
#9C92F2 #CC92F2 #F292E8
triadic
#CC92F2 #F2CC92 #92F2CC
tetradic
#CC92F2 #F29C92 #B8F292 #92E8F2
square
#CC92F2 #F29C92 #B8F292 #92E8F2
split-complementary
#CC92F2 #E8F292 #92F29C
monochromatic
#9925E5 #B25BEB #CC92F2 #E6C9F9 #F2E4FC

Accessibility & contrast

On white

2.34
#CC92F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#CC92F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC92F2
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC92F2#FFFFFF#000000##000000
##CC92F21.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F6
Deuteranopia (green-blind)
#8DAAEF
Tritanopia (blue-blind)
#C8A0B7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc92f2;
/* rgb */ color: rgb(204, 146, 242);
/* oklch */ color: oklch(75.1% 0.146 311.0);
Tailwind
colors: {
  custom: {
    50: '#ddb3f6',
    500: '#cc92f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc92f2;
$custom-light: #ddb3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc92f2",
  "rgb": {
    "r": 204,
    "g": 146,
    "b": 242
  },
  "hsl": {
    "h": 276.25,
    "s": 78.689,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75137,
    "c": 0.1462,
    "h": 311
  },
  "luminance": 0.39806
}

Semantic roles & 50–950 ramp

primary
#CC92F2
secondary
#E3F4D7
accent
#DB0B5D
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CC92F2

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

Preview Lab → · Contrast checker → · Palette generator →

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