#CC94FF#CC94FF

#CC94FF is a light, vivid violet. Relative luminance 0.412; OKLCH L 76.1% C 0.158 H 307.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#CC94FF
RGBrgb(204, 148, 255)
HSLhsl(271, 100%, 79%)
HSVhsv(271, 42%, 100%)
CMYKcmyk(20%, 42%, 0%, 0%)
CIE-LABlab(70.34, 40.77, -45.36)
CIE-LCHlch(70.34, 60.99, 311.95°)
OKLaboklab(76.09% 0.0956 -0.1262)
OKLCHoklch(76.09% 0.158 307.1)
XYZxyz(53.5382, 41.2377, 99.7276)
Luminance0.4124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC94FF #C7FF94
analogous
#9794FF #CC94FF #FF94FC
triadic
#CC94FF #FFCC94 #94FFCC
tetradic
#CC94FF #FF9794 #C7FF94 #94FCFF
square
#CC94FF #FF9794 #C7FF94 #94FCFF
split-complementary
#CC94FF #FCFF94 #94FF97
monochromatic
#921AFF #AF57FF #CC94FF #E9D1FF #F0E0FF

Accessibility & contrast

On white

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

On black

9.25
#CC94FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC94FF
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC94FF#FFFFFF#000000##000000
##CC94FF1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc94ff;
/* rgb */ color: rgb(204, 148, 255);
/* oklch */ color: oklch(76.1% 0.158 307.1);
Tailwind
colors: {
  custom: {
    50: '#ddb4ff',
    500: '#cc94ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc94ff;
$custom-light: #ddb4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc94ff",
  "rgb": {
    "r": 204,
    "g": 148,
    "b": 255
  },
  "hsl": {
    "h": 271.402,
    "s": 100,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76085,
    "c": 0.15829,
    "h": 307.1
  },
  "luminance": 0.41237
}

Semantic roles & 50–950 ramp

primary
#CC94FF
secondary
#E5F7D4
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC94FF

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

Preview Lab → · Contrast checker → · Palette generator →

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