#CC94FE#CC94FE

#CC94FE is a light, vivid violet. Relative luminance 0.412; OKLCH L 76.0% C 0.157 H 307.4°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#CC94FE
RGBrgb(204, 148, 254)
HSLhsl(272, 98%, 79%)
HSVhsv(272, 42%, 100%)
CMYKcmyk(19.7%, 41.7%, 0%, 0.4%)
CIE-LABlab(70.30, 40.55, -44.89)
CIE-LCHlch(70.30, 60.49, 312.09°)
OKLaboklab(76.04% 0.0954 -0.1248)
OKLCHoklch(76.04% 0.157 307.4)
XYZxyz(53.3776, 41.1734, 98.8820)
Luminance0.4117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC94FE #C6FE94
analogous
#9794FE #CC94FE #FE94FB
triadic
#CC94FE #FECC94 #94FECC
tetradic
#CC94FE #FE9794 #C6FE94 #94FBFE
square
#CC94FE #FE9794 #C6FE94 #94FBFE
split-complementary
#CC94FE #FBFE94 #94FE97
monochromatic
#921BFD #AF57FD #CC94FE #E9D1FF #F1E1FF

Accessibility & contrast

On white

2.27
#CC94FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#CC94FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC94FE
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC94FE#FFFFFF#000000##000000
##CC94FE1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#89ADFB
Tritanopia (blue-blind)
#C5A5BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cc94fe;
/* rgb */ color: rgb(204, 148, 254);
/* oklch */ color: oklch(76.0% 0.157 307.4);
Tailwind
colors: {
  custom: {
    50: '#ddb4ff',
    500: '#cc94fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc94fe;
$custom-light: #ddb4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc94fe",
  "rgb": {
    "r": 204,
    "g": 148,
    "b": 254
  },
  "hsl": {
    "h": 271.698,
    "s": 98.148,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76036,
    "c": 0.15709,
    "h": 307.4
  },
  "luminance": 0.41173
}

Semantic roles & 50–950 ramp

primary
#CC94FE
secondary
#E5F7D4
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC94FE

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

Preview Lab → · Contrast checker → · Palette generator →

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