#CC93ED#CC93ED

#CC93ED is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.1% C 0.139 H 312.4°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CC93ED
RGBrgb(204, 147, 237)
HSLhsl(278, 71%, 75%)
HSVhsv(278, 38%, 93%)
CMYKcmyk(13.9%, 38%, 0%, 7.1%)
CIE-LABlab(69.34, 37.44, -37.10)
CIE-LCHlch(69.34, 52.71, 315.26°)
OKLaboklab(75.07% 0.0935 -0.1024)
OKLCHoklch(75.07% 0.139 312.4)
XYZxyz(50.6190, 39.8201, 85.1238)
Luminance0.3982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC93ED #B4ED93
analogous
#9F93ED #CC93ED #ED93E1
triadic
#CC93ED #EDCC93 #93EDCC
tetradic
#CC93ED #ED9F93 #B4ED93 #93E1ED
square
#CC93ED #ED9F93 #B4ED93 #93E1ED
split-complementary
#CC93ED #E1ED93 #93ED9F
monochromatic
#9A2ADC #B35FE4 #CC93ED #E5C7F6 #F3E5FB

Accessibility & contrast

On white

2.34
#CC93ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#CC93ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC93ED
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC93ED#FFFFFF#000000##000000
##CC93ED1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6F0
Deuteranopia (green-blind)
#90ABEA
Tritanopia (blue-blind)
#C9A0B5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc93ed;
/* rgb */ color: rgb(204, 147, 237);
/* oklch */ color: oklch(75.1% 0.139 312.4);
Tailwind
colors: {
  custom: {
    50: '#ddb3f3',
    500: '#cc93ed',
    950: '#000000',
  },
}
SCSS
$custom: #cc93ed;
$custom-light: #ddb3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc93ed",
  "rgb": {
    "r": 204,
    "g": 147,
    "b": 237
  },
  "hsl": {
    "h": 278,
    "s": 71.429,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75074,
    "c": 0.13869,
    "h": 312.4
  },
  "luminance": 0.39819
}

Semantic roles & 50–950 ramp

primary
#CC93ED
secondary
#E2F2D9
accent
#D31259
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC93ED

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

Preview Lab → · Contrast checker → · Palette generator →

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