#CC93FF#CC93FF

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

Color values

HEX#CC93FF
RGBrgb(204, 147, 255)
HSLhsl(272, 100%, 79%)
HSVhsv(272, 42%, 100%)
CMYKcmyk(20%, 42.4%, 0%, 0%)
CIE-LABlab(70.12, 41.31, -45.71)
CIE-LCHlch(70.12, 61.61, 312.11°)
OKLaboklab(75.92% 0.0969 -0.1272)
OKLCHoklch(75.92% 0.16 307.3)
XYZxyz(53.3820, 40.9253, 99.6755)
Luminance0.4093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC93FF #C6FF93
analogous
#9693FF #CC93FF #FF93FC
triadic
#CC93FF #FFCC93 #93FFCC
tetradic
#CC93FF #FF9693 #C6FF93 #93FCFF
square
#CC93FF #FF9693 #C6FF93 #93FCFF
split-complementary
#CC93FF #FCFF93 #93FF96
monochromatic
#9219FF #AF56FF #CC93FF #E9D0FF #F1E0FF

Accessibility & contrast

On white

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

On black

9.18
#CC93FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC93FF
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC93FF#FFFFFF#000000##000000
##CC93FF1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc93ff;
/* rgb */ color: rgb(204, 147, 255);
/* oklch */ color: oklch(75.9% 0.160 307.3);
Tailwind
colors: {
  custom: {
    50: '#ddb3ff',
    500: '#cc93ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc93ff;
$custom-light: #ddb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc93ff",
  "rgb": {
    "r": 204,
    "g": 147,
    "b": 255
  },
  "hsl": {
    "h": 271.667,
    "s": 100,
    "l": 78.824
  },
  "oklch": {
    "l": 0.7592,
    "c": 0.15989,
    "h": 307.3
  },
  "luminance": 0.40925
}

Semantic roles & 50–950 ramp

primary
#CC93FF
secondary
#E5F7D4
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC93FF

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

Preview Lab → · Contrast checker → · Palette generator →

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