#CC94EA#CC94EA

#CC94EA is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.1% C 0.134 H 313.2°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CC94EA
RGBrgb(204, 148, 234)
HSLhsl(279, 67%, 75%)
HSVhsv(279, 37%, 92%)
CMYKcmyk(12.8%, 36.8%, 0%, 8.2%)
CIE-LABlab(69.44, 36.27, -35.31)
CIE-LCHlch(69.44, 50.61, 315.77°)
OKLaboklab(75.11% 0.0915 -0.0972)
OKLCHoklch(75.11% 0.134 313.2)
XYZxyz(50.3406, 39.9586, 82.8868)
Luminance0.3996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC94EA #B2EA94
analogous
#A194EA #CC94EA #EA94DD
triadic
#CC94EA #EACC94 #94EACC
tetradic
#CC94EA #EAA194 #B2EA94 #94DDEA
square
#CC94EA #EAA194 #B2EA94 #94DDEA
split-complementary
#CC94EA #DDEA94 #94EAA1
monochromatic
#9B2ED6 #B461E0 #CC94EA #E4C7F4 #F3E5FA

Accessibility & contrast

On white

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

On black

8.99
#CC94EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC94EA
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC94EA#FFFFFF#000000##000000
##CC94EA1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A6ED
Deuteranopia (green-blind)
#92ABE7
Tritanopia (blue-blind)
#CAA0B4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc94ea;
/* rgb */ color: rgb(204, 148, 234);
/* oklch */ color: oklch(75.1% 0.134 313.2);
Tailwind
colors: {
  custom: {
    50: '#dcb4f1',
    500: '#cc94ea',
    950: '#000000',
  },
}
SCSS
$custom: #cc94ea;
$custom-light: #dcb4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc94ea",
  "rgb": {
    "r": 204,
    "g": 148,
    "b": 234
  },
  "hsl": {
    "h": 279.07,
    "s": 67.187,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75108,
    "c": 0.13351,
    "h": 313.2
  },
  "luminance": 0.39958
}

Semantic roles & 50–950 ramp

primary
#CC94EA
secondary
#E2F1DA
accent
#CF1657
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC94EA

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

Preview Lab → · Contrast checker → · Palette generator →

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