#CC93FE#CC93FE

#CC93FE is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.9% C 0.159 H 307.6°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#CC93FE
RGBrgb(204, 147, 254)
HSLhsl(272, 98%, 79%)
HSVhsv(272, 42%, 100%)
CMYKcmyk(19.7%, 42.1%, 0%, 0.4%)
CIE-LABlab(70.08, 41.09, -45.23)
CIE-LCHlch(70.08, 61.11, 312.25°)
OKLaboklab(75.87% 0.0968 -0.1258)
OKLCHoklch(75.87% 0.159 307.6)
XYZxyz(53.2215, 40.8611, 98.8299)
Luminance0.4086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC93FE #C5FE93
analogous
#9693FE #CC93FE #FE93FA
triadic
#CC93FE #FECC93 #93FECC
tetradic
#CC93FE #FE9693 #C5FE93 #93FAFE
square
#CC93FE #FE9693 #C5FE93 #93FAFE
split-complementary
#CC93FE #FAFE93 #93FE96
monochromatic
#931AFD #AF56FD #CC93FE #E9D0FF #F1E1FF

Accessibility & contrast

On white

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

On black

9.17
#CC93FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC93FE
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC93FE#FFFFFF#000000##000000
##CC93FE1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#C5A4BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc93fe;
/* rgb */ color: rgb(204, 147, 254);
/* oklch */ color: oklch(75.9% 0.159 307.6);
Tailwind
colors: {
  custom: {
    50: '#ddb3ff',
    500: '#cc93fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc93fe;
$custom-light: #ddb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc93fe",
  "rgb": {
    "r": 204,
    "g": 147,
    "b": 254
  },
  "hsl": {
    "h": 271.963,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75872,
    "c": 0.15872,
    "h": 307.6
  },
  "luminance": 0.40861
}

Semantic roles & 50–950 ramp

primary
#CC93FE
secondary
#E4F7D4
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC93FE

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

Preview Lab → · Contrast checker → · Palette generator →

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