#CC94FB#CC94FB

#CC94FB is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.9% C 0.154 H 308.2°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#CC94FB
RGBrgb(204, 148, 251)
HSLhsl(273, 93%, 78%)
HSVhsv(273, 41%, 98%)
CMYKcmyk(18.7%, 41%, 0%, 1.6%)
CIE-LABlab(70.16, 39.89, -43.47)
CIE-LCHlch(70.16, 59.00, 312.54°)
OKLaboklab(75.89% 0.0949 -0.1207)
OKLCHoklch(75.89% 0.154 308.2)
XYZxyz(52.9010, 40.9828, 96.3717)
Luminance0.4098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC94FB #C3FB94
analogous
#9894FB #CC94FB #FB94F7
triadic
#CC94FB #FBCC94 #94FBCC
tetradic
#CC94FB #FB9894 #C3FB94 #94F7FB
square
#CC94FB #FB9894 #C3FB94 #94F7FB
split-complementary
#CC94FB #F7FB94 #94FB98
monochromatic
#941EF7 #B059F9 #CC94FB #E8CFFD #F1E2FE

Accessibility & contrast

On white

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

On black

9.20
#CC94FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC94FB
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC94FB#FFFFFF#000000##000000
##CC94FB1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#8BACF8
Tritanopia (blue-blind)
#C6A4BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc94fb;
/* rgb */ color: rgb(204, 148, 251);
/* oklch */ color: oklch(75.9% 0.154 308.2);
Tailwind
colors: {
  custom: {
    50: '#ddb4fd',
    500: '#cc94fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc94fb;
$custom-light: #ddb4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc94fb",
  "rgb": {
    "r": 204,
    "g": 148,
    "b": 251
  },
  "hsl": {
    "h": 272.621,
    "s": 92.793,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75892,
    "c": 0.15352,
    "h": 308.2
  },
  "luminance": 0.40982
}

Semantic roles & 50–950 ramp

primary
#CC94FB
secondary
#E4F6D5
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC94FB

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

Preview Lab → · Contrast checker → · Palette generator →

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