#CC75EB#CC75EB

#CC75EB is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.3% C 0.186 H 316.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CC75EB
RGBrgb(204, 117, 235)
HSLhsl(284, 75%, 69%)
HSVhsv(284, 50%, 92%)
CMYKcmyk(13.2%, 50.2%, 0%, 7.8%)
CIE-LABlab(62.98, 52.87, -45.97)
CIE-LCHlch(62.98, 70.06, 319.00°)
OKLaboklab(70.29% 0.135 -0.1278)
OKLCHoklch(70.29% 0.186 316.6)
XYZxyz(46.2563, 31.5596, 82.2361)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC75EB #94EB75
analogous
#9175EB #CC75EB #EB75CF
triadic
#CC75EB #EBCC75 #75EBCC
tetradic
#CC75EB #EB9175 #94EB75 #75CFEB
square
#CC75EB #EB9175 #94EB75 #75CFEB
split-complementary
#CC75EB #CFEB75 #75EB91
monochromatic
#9B1DC9 #B840E3 #CC75EB #E0AAF3 #F4E0FA

Accessibility & contrast

On white

2.87
#CC75EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CC75EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC75EB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC75EB#FFFFFF#000000##000000
##CC75EB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#779BE8
Tritanopia (blue-blind)
#CB87A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc75eb;
/* rgb */ color: rgb(204, 117, 235);
/* oklch */ color: oklch(70.3% 0.186 316.6);
Tailwind
colors: {
  custom: {
    50: '#de9ff2',
    500: '#cc75eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc75eb;
$custom-light: #de9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc75eb",
  "rgb": {
    "r": 204,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 284.237,
    "s": 74.684,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70285,
    "c": 0.18588,
    "h": 316.6
  },
  "luminance": 0.31558
}

Semantic roles & 50–950 ramp

primary
#CC75EB
secondary
#D6EFCD
accent
#D70F43
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC75EB

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

Preview Lab → · Contrast checker → · Palette generator →

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