#CC93EE#CC93EE

#CC93EE is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.1% C 0.140 H 312.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#CC93EE
RGBrgb(204, 147, 238)
HSLhsl(278, 73%, 75%)
HSVhsv(278, 38%, 93%)
CMYKcmyk(14.3%, 38.2%, 0%, 6.7%)
CIE-LABlab(69.38, 37.65, -37.59)
CIE-LCHlch(69.38, 53.20, 315.05°)
OKLaboklab(75.12% 0.0938 -0.1038)
OKLCHoklch(75.12% 0.14 312.1)
XYZxyz(50.7655, 39.8787, 85.8954)
Luminance0.3988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC93EE #B5EE93
analogous
#9E93EE #CC93EE #EE93E3
triadic
#CC93EE #EECC93 #93EECC
tetradic
#CC93EE #EE9E93 #B5EE93 #93E3EE
square
#CC93EE #EE9E93 #B5EE93 #93E3EE
split-complementary
#CC93EE #E3EE93 #93EE9E
monochromatic
#9A29DD #B35EE6 #CC93EE #E5C8F6 #F3E5FB

Accessibility & contrast

On white

2.34
#CC93EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#CC93EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC93EE
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC93EE#FFFFFF#000000##000000
##CC93EE1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6F1
Deuteranopia (green-blind)
#90ABEB
Tritanopia (blue-blind)
#C9A0B5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc93ee;
/* rgb */ color: rgb(204, 147, 238);
/* oklch */ color: oklch(75.1% 0.140 312.1);
Tailwind
colors: {
  custom: {
    50: '#ddb3f4',
    500: '#cc93ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc93ee;
$custom-light: #ddb3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc93ee",
  "rgb": {
    "r": 204,
    "g": 147,
    "b": 238
  },
  "hsl": {
    "h": 277.582,
    "s": 72.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7512,
    "c": 0.13985,
    "h": 312.1
  },
  "luminance": 0.39878
}

Semantic roles & 50–950 ramp

primary
#CC93EE
secondary
#E2F2D9
accent
#D5115A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC93EE

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

Preview Lab → · Contrast checker → · Palette generator →

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