#CC94EB#CC94EB

#CC94EB is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.2% C 0.135 H 312.9°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#CC94EB
RGBrgb(204, 148, 235)
HSLhsl(279, 69%, 75%)
HSVhsv(279, 37%, 92%)
CMYKcmyk(13.2%, 37%, 0%, 7.8%)
CIE-LABlab(69.48, 36.47, -35.79)
CIE-LCHlch(69.48, 51.10, 315.54°)
OKLaboklab(75.15% 0.0917 -0.0986)
OKLCHoklch(75.15% 0.135 312.9)
XYZxyz(50.4846, 40.0162, 83.6456)
Luminance0.4002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC94EB #B3EB94
analogous
#A194EB #CC94EB #EB94DE
triadic
#CC94EB #EBCC94 #94EBCC
tetradic
#CC94EB #EBA194 #B3EB94 #94DEEB
square
#CC94EB #EBA194 #B3EB94 #94DEEB
split-complementary
#CC94EB #DEEB94 #94EBA1
monochromatic
#9B2DD8 #B360E1 #CC94EB #E5C8F5 #F3E5FA

Accessibility & contrast

On white

2.33
#CC94EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#CC94EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC94EB
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC94EB#FFFFFF#000000##000000
##CC94EB1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EE
Deuteranopia (green-blind)
#92ABE8
Tritanopia (blue-blind)
#C9A0B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc94eb;
/* rgb */ color: rgb(204, 148, 235);
/* oklch */ color: oklch(75.2% 0.135 312.9);
Tailwind
colors: {
  custom: {
    50: '#ddb4f1',
    500: '#cc94eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc94eb;
$custom-light: #ddb4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc94eb",
  "rgb": {
    "r": 204,
    "g": 148,
    "b": 235
  },
  "hsl": {
    "h": 278.621,
    "s": 68.504,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75153,
    "c": 0.13467,
    "h": 312.9
  },
  "luminance": 0.40015
}

Semantic roles & 50–950 ramp

primary
#CC94EB
secondary
#E2F2D9
accent
#D01558
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC94EB

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

Preview Lab → · Contrast checker → · Palette generator →

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