#CC93EF#CC93EF

#CC93EF is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.2% C 0.141 H 311.8°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CC93EF
RGBrgb(204, 147, 239)
HSLhsl(277, 74%, 76%)
HSVhsv(277, 38%, 94%)
CMYKcmyk(14.6%, 38.5%, 0%, 6.3%)
CIE-LABlab(69.43, 37.86, -38.07)
CIE-LCHlch(69.43, 53.69, 314.84°)
OKLaboklab(75.17% 0.094 -0.1052)
OKLCHoklch(75.17% 0.141 311.8)
XYZxyz(50.9129, 39.9377, 86.6713)
Luminance0.3994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC93EF #B6EF93
analogous
#9E93EF #CC93EF #EF93E4
triadic
#CC93EF #EFCC93 #93EFCC
tetradic
#CC93EF #EF9E93 #B6EF93 #93E4EF
square
#CC93EF #EF9E93 #B6EF93 #93E4EF
split-complementary
#CC93EF #E4EF93 #93EF9E
monochromatic
#9A28DF #B35EE7 #CC93EF #E5C8F7 #F2E4FB

Accessibility & contrast

On white

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

On black

8.99
#CC93EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC93EF
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC93EF#FFFFFF#000000##000000
##CC93EF1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F2
Deuteranopia (green-blind)
#8FABEC
Tritanopia (blue-blind)
#C9A0B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc93ef;
/* rgb */ color: rgb(204, 147, 239);
/* oklch */ color: oklch(75.2% 0.141 311.8);
Tailwind
colors: {
  custom: {
    50: '#ddb3f4',
    500: '#cc93ef',
    950: '#000000',
  },
}
SCSS
$custom: #cc93ef;
$custom-light: #ddb3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc93ef",
  "rgb": {
    "r": 204,
    "g": 147,
    "b": 239
  },
  "hsl": {
    "h": 277.174,
    "s": 74.194,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75165,
    "c": 0.14102,
    "h": 311.8
  },
  "luminance": 0.39937
}

Semantic roles & 50–950 ramp

primary
#CC93EF
secondary
#E2F3D8
accent
#D60F5B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC93EF

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

Preview Lab → · Contrast checker → · Palette generator →

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