#CC92FF#CC92FF

#CC92FF is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.8% C 0.162 H 307.5°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#CC92FF
RGBrgb(204, 146, 255)
HSLhsl(272, 100%, 79%)
HSVhsv(272, 43%, 100%)
CMYKcmyk(20%, 42.7%, 0%, 0%)
CIE-LABlab(69.91, 41.85, -46.05)
CIE-LCHlch(69.91, 62.22, 312.26°)
OKLaboklab(75.76% 0.0983 -0.1282)
OKLCHoklch(75.76% 0.162 307.5)
XYZxyz(53.2272, 40.6157, 99.6239)
Luminance0.4062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC92FF #C5FF92
analogous
#9592FF #CC92FF #FF92FB
triadic
#CC92FF #FFCC92 #92FFCC
tetradic
#CC92FF #FF9592 #C5FF92 #92FBFF
square
#CC92FF #FF9592 #C5FF92 #92FBFF
split-complementary
#CC92FF #FBFF92 #92FF95
monochromatic
#9318FF #AF55FF #CC92FF #E9CFFF #F1E0FF

Accessibility & contrast

On white

2.30
#CC92FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#CC92FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC92FF
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC92FF#FFFFFF#000000##000000
##CC92FF1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A9FF
Deuteranopia (green-blind)
#87ABFC
Tritanopia (blue-blind)
#C5A3BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc92ff;
/* rgb */ color: rgb(204, 146, 255);
/* oklch */ color: oklch(75.8% 0.162 307.5);
Tailwind
colors: {
  custom: {
    50: '#ddb3ff',
    500: '#cc92ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc92ff;
$custom-light: #ddb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc92ff",
  "rgb": {
    "r": 204,
    "g": 146,
    "b": 255
  },
  "hsl": {
    "h": 271.927,
    "s": 100,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75757,
    "c": 0.16151,
    "h": 307.5
  },
  "luminance": 0.40615
}

Semantic roles & 50–950 ramp

primary
#CC92FF
secondary
#E4F7D4
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC92FF

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

Preview Lab → · Contrast checker → · Palette generator →

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