#CC93FD#CC93FD

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

Color values

HEX#CC93FD
RGBrgb(204, 147, 253)
HSLhsl(272, 96%, 78%)
HSVhsv(272, 42%, 99%)
CMYKcmyk(19.4%, 41.9%, 0%, 0.8%)
CIE-LABlab(70.03, 40.87, -44.76)
CIE-LCHlch(70.03, 60.61, 312.40°)
OKLaboklab(75.82% 0.0966 -0.1244)
OKLCHoklch(75.82% 0.158 307.8)
XYZxyz(53.0617, 40.7972, 97.9888)
Luminance0.4080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC93FD #C4FD93
analogous
#9793FD #CC93FD #FD93F9
triadic
#CC93FD #FDCC93 #93FDCC
tetradic
#CC93FD #FD9793 #C4FD93 #93F9FD
square
#CC93FD #FD9793 #C4FD93 #93F9FD
split-complementary
#CC93FD #F9FD93 #93FD97
monochromatic
#931BFB #B057FC #CC93FD #E8CFFE #F1E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC93FD#FFFFFF#000000##000000
##CC93FD1.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)
#7BA9FF
Deuteranopia (green-blind)
#89ACFA
Tritanopia (blue-blind)
#C5A4BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc93fd;
/* rgb */ color: rgb(204, 147, 253);
/* oklch */ color: oklch(75.8% 0.158 307.8);
Tailwind
colors: {
  custom: {
    50: '#ddb3fe',
    500: '#cc93fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc93fd;
$custom-light: #ddb3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc93fd",
  "rgb": {
    "r": 204,
    "g": 147,
    "b": 253
  },
  "hsl": {
    "h": 272.264,
    "s": 96.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75823,
    "c": 0.15753,
    "h": 307.8
  },
  "luminance": 0.40797
}

Semantic roles & 50–950 ramp

primary
#CC93FD
secondary
#E4F7D4
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC93FD

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

Preview Lab → · Contrast checker → · Palette generator →

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