#CC93EB#CC93EB

#CC93EB is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.0% C 0.136 H 313.1°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CC93EB
RGBrgb(204, 147, 235)
HSLhsl(279, 69%, 75%)
HSVhsv(279, 37%, 92%)
CMYKcmyk(13.2%, 37.4%, 0%, 7.8%)
CIE-LABlab(69.26, 37.02, -36.14)
CIE-LCHlch(69.26, 51.73, 315.69°)
OKLaboklab(74.98% 0.0931 -0.0996)
OKLCHoklch(74.98% 0.136 313.1)
XYZxyz(50.3285, 39.7039, 83.5935)
Luminance0.3970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC93EB #B2EB93
analogous
#A093EB #CC93EB #EB93DE
triadic
#CC93EB #EBCC93 #93EBCC
tetradic
#CC93EB #EBA093 #B2EB93 #93DEEB
square
#CC93EB #EBA093 #B2EB93 #93DEEB
split-complementary
#CC93EB #DEEB93 #93EBA0
monochromatic
#9B2CD8 #B45FE1 #CC93EB #E4C7F5 #F3E5FA

Accessibility & contrast

On white

2.35
#CC93EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#CC93EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC93EB
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC93EB#FFFFFF#000000##000000
##CC93EB1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6EE
Deuteranopia (green-blind)
#91ABE8
Tritanopia (blue-blind)
#C99FB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc93eb;
/* rgb */ color: rgb(204, 147, 235);
/* oklch */ color: oklch(75.0% 0.136 313.1);
Tailwind
colors: {
  custom: {
    50: '#ddb3f1',
    500: '#cc93eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc93eb;
$custom-light: #ddb3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc93eb",
  "rgb": {
    "r": 204,
    "g": 147,
    "b": 235
  },
  "hsl": {
    "h": 278.864,
    "s": 68.75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74984,
    "c": 0.13637,
    "h": 313.1
  },
  "luminance": 0.39703
}

Semantic roles & 50–950 ramp

primary
#CC93EB
secondary
#E2F2D9
accent
#D11557
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC93EB

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

Preview Lab → · Contrast checker → · Palette generator →

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