#CC93F8#CC93F8

#CC93F8 is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.6% C 0.152 H 309.1°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CC93F8
RGBrgb(204, 147, 248)
HSLhsl(274, 88%, 77%)
HSVhsv(274, 41%, 97%)
CMYKcmyk(17.7%, 40.7%, 0%, 2.7%)
CIE-LABlab(69.81, 39.78, -42.38)
CIE-LCHlch(69.81, 58.13, 313.19°)
OKLaboklab(75.58% 0.0957 -0.1176)
OKLCHoklch(75.58% 0.152 309.1)
XYZxyz(52.2757, 40.4828, 93.8488)
Luminance0.4048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC93F8 #BFF893
analogous
#9993F8 #CC93F8 #F893F2
triadic
#CC93F8 #F8CC93 #93F8CC
tetradic
#CC93F8 #F89993 #BFF893 #93F2F8
square
#CC93F8 #F89993 #BFF893 #93F2F8
split-complementary
#CC93F8 #F2F893 #93F899
monochromatic
#9620F1 #B15AF4 #CC93F8 #E7CCFC #F1E2FD

Accessibility & contrast

On white

2.31
#CC93F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#CC93F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC93F8
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC93F8#FFFFFF#000000##000000
##CC93F81.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FC
Deuteranopia (green-blind)
#8BABF5
Tritanopia (blue-blind)
#C6A2BA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cc93f8;
/* rgb */ color: rgb(204, 147, 248);
/* oklch */ color: oklch(75.6% 0.152 309.1);
Tailwind
colors: {
  custom: {
    50: '#ddb3fb',
    500: '#cc93f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc93f8;
$custom-light: #ddb3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc93f8",
  "rgb": {
    "r": 204,
    "g": 147,
    "b": 248
  },
  "hsl": {
    "h": 273.861,
    "s": 87.826,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75584,
    "c": 0.1516,
    "h": 309.1
  },
  "luminance": 0.40482
}

Semantic roles & 50–950 ramp

primary
#CC93F8
secondary
#E3F5D6
accent
#E40164
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC93F8

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

Preview Lab → · Contrast checker → · Palette generator →

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