#CC94EE#CC94EE

#CC94EE is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.3% C 0.138 H 311.9°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#CC94EE
RGBrgb(204, 148, 238)
HSLhsl(277, 73%, 76%)
HSVhsv(277, 38%, 93%)
CMYKcmyk(14.3%, 37.8%, 0%, 6.7%)
CIE-LABlab(69.61, 37.10, -37.24)
CIE-LCHlch(69.61, 52.57, 314.89°)
OKLaboklab(75.29% 0.0923 -0.1028)
OKLCHoklch(75.29% 0.138 311.9)
XYZxyz(50.9217, 40.1911, 85.9475)
Luminance0.4019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC94EE #B6EE94
analogous
#9F94EE #CC94EE #EE94E3
triadic
#CC94EE #EECC94 #94EECC
tetradic
#CC94EE #EE9F94 #B6EE94 #94E3EE
square
#CC94EE #EE9F94 #B6EE94 #94E3EE
split-complementary
#CC94EE #E3EE94 #94EE9F
monochromatic
#9A2ADD #B35FE6 #CC94EE #E5C9F6 #F2E5FB

Accessibility & contrast

On white

2.32
#CC94EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#CC94EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC94EE
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC94EE#FFFFFF#000000##000000
##CC94EE1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F1
Deuteranopia (green-blind)
#91ABEB
Tritanopia (blue-blind)
#C9A1B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc94ee;
/* rgb */ color: rgb(204, 148, 238);
/* oklch */ color: oklch(75.3% 0.138 311.9);
Tailwind
colors: {
  custom: {
    50: '#ddb4f4',
    500: '#cc94ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc94ee;
$custom-light: #ddb4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc94ee",
  "rgb": {
    "r": 204,
    "g": 148,
    "b": 238
  },
  "hsl": {
    "h": 277.333,
    "s": 72.581,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75288,
    "c": 0.13817,
    "h": 311.9
  },
  "luminance": 0.4019
}

Semantic roles & 50–950 ramp

primary
#CC94EE
secondary
#E2F2D9
accent
#D5115B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC94EE

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

Preview Lab → · Contrast checker → · Palette generator →

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