#CC94FD#CC94FD

#CC94FD is a light, vivid violet. Relative luminance 0.411; OKLCH L 76.0% C 0.156 H 307.6°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#CC94FD
RGBrgb(204, 148, 253)
HSLhsl(272, 96%, 79%)
HSVhsv(272, 42%, 99%)
CMYKcmyk(19.4%, 41.5%, 0%, 0.8%)
CIE-LABlab(70.25, 40.33, -44.42)
CIE-LCHlch(70.25, 59.99, 312.24°)
OKLaboklab(75.99% 0.0952 -0.1234)
OKLCHoklch(75.99% 0.156 307.6)
XYZxyz(53.2179, 41.1096, 98.0408)
Luminance0.4111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC94FD #C5FD94
analogous
#9794FD #CC94FD #FD94F9
triadic
#CC94FD #FDCC94 #94FDCC
tetradic
#CC94FD #FD9794 #C5FD94 #94F9FD
square
#CC94FD #FD9794 #C5FD94 #94F9FD
split-complementary
#CC94FD #F9FD94 #94FD97
monochromatic
#931CFB #AF58FC #CC94FD #E9D0FE #F1E1FE

Accessibility & contrast

On white

2.28
#CC94FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#CC94FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC94FD
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC94FD#FFFFFF#000000##000000
##CC94FD1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#8AACFA
Tritanopia (blue-blind)
#C5A4BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cc94fd;
/* rgb */ color: rgb(204, 148, 253);
/* oklch */ color: oklch(76.0% 0.156 307.6);
Tailwind
colors: {
  custom: {
    50: '#ddb4fe',
    500: '#cc94fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc94fd;
$custom-light: #ddb4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc94fd",
  "rgb": {
    "r": 204,
    "g": 148,
    "b": 253
  },
  "hsl": {
    "h": 272,
    "s": 96.33,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75988,
    "c": 0.1559,
    "h": 307.6
  },
  "luminance": 0.41109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC94FD

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

Preview Lab → · Contrast checker → · Palette generator →

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