#CC94FA#CC94FA

#CC94FA is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.8% C 0.152 H 308.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#CC94FA
RGBrgb(204, 148, 250)
HSLhsl(273, 91%, 78%)
HSVhsv(273, 41%, 98%)
CMYKcmyk(18.4%, 40.8%, 0%, 2%)
CIE-LABlab(70.12, 39.67, -42.99)
CIE-LCHlch(70.12, 58.50, 312.70°)
OKLaboklab(75.85% 0.0947 -0.1193)
OKLCHoklch(75.85% 0.152 308.4)
XYZxyz(52.7438, 40.9199, 95.5437)
Luminance0.4092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC94FA #C2FA94
analogous
#9994FA #CC94FA #FA94F5
triadic
#CC94FA #FACC94 #94FACC
tetradic
#CC94FA #FA9994 #C2FA94 #94F5FA
square
#CC94FA #FA9994 #C2FA94 #94F5FA
split-complementary
#CC94FA #F5FA94 #94FA99
monochromatic
#941FF5 #B05AF7 #CC94FA #E8CEFD #F1E2FE

Accessibility & contrast

On white

2.29
#CC94FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#CC94FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC94FA
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC94FA#FFFFFF#000000##000000
##CC94FA1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FE
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#C6A4BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc94fa;
/* rgb */ color: rgb(204, 148, 250);
/* oklch */ color: oklch(75.8% 0.152 308.4);
Tailwind
colors: {
  custom: {
    50: '#ddb4fc',
    500: '#cc94fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc94fa;
$custom-light: #ddb4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc94fa",
  "rgb": {
    "r": 204,
    "g": 148,
    "b": 250
  },
  "hsl": {
    "h": 272.941,
    "s": 91.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75845,
    "c": 0.15233,
    "h": 308.4
  },
  "luminance": 0.40919
}

Semantic roles & 50–950 ramp

primary
#CC94FA
secondary
#E4F6D5
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC94FA

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

Preview Lab → · Contrast checker → · Palette generator →

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