#CC94F8#CC94F8

#CC94F8 is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.8% C 0.150 H 309.0°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#CC94F8
RGBrgb(204, 148, 248)
HSLhsl(274, 88%, 78%)
HSVhsv(274, 40%, 97%)
CMYKcmyk(17.7%, 40.3%, 0%, 2.7%)
CIE-LABlab(70.03, 39.24, -42.04)
CIE-LCHlch(70.03, 57.51, 313.03°)
OKLaboklab(75.75% 0.0943 -0.1166)
OKLCHoklch(75.75% 0.15 309)
XYZxyz(52.4319, 40.7951, 93.9009)
Luminance0.4079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC94F8 #C0F894
analogous
#9A94F8 #CC94F8 #F894F2
triadic
#CC94F8 #F8CC94 #94F8CC
tetradic
#CC94F8 #F89A94 #C0F894 #94F2F8
square
#CC94F8 #F89A94 #C0F894 #94F2F8
split-complementary
#CC94F8 #F2F894 #94F89A
monochromatic
#9521F0 #B15BF4 #CC94F8 #E7CDFC #F1E2FD

Accessibility & contrast

On white

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

On black

9.16
#CC94F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC94F8
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC94F8#FFFFFF#000000##000000
##CC94F81.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FC
Deuteranopia (green-blind)
#8CACF5
Tritanopia (blue-blind)
#C6A3BA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc94f8;
/* rgb */ color: rgb(204, 148, 248);
/* oklch */ color: oklch(75.8% 0.150 309.0);
Tailwind
colors: {
  custom: {
    50: '#ddb4fb',
    500: '#cc94f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc94f8;
$custom-light: #ddb4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc94f8",
  "rgb": {
    "r": 204,
    "g": 148,
    "b": 248
  },
  "hsl": {
    "h": 273.6,
    "s": 87.719,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7575,
    "c": 0.14996,
    "h": 309
  },
  "luminance": 0.40794
}

Semantic roles & 50–950 ramp

primary
#CC94F8
secondary
#E4F5D6
accent
#E40165
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC94F8

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

Preview Lab → · Contrast checker → · Palette generator →

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