#CC5EF2#CC5EF2

#CC5EF2 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.6% C 0.227 H 316.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#CC5EF2
RGBrgb(204, 94, 242)
HSLhsl(285, 85%, 66%)
HSVhsv(285, 61%, 95%)
CMYKcmyk(15.7%, 61.2%, 0%, 5.1%)
CIE-LABlab(59.21, 65.31, -55.83)
CIE-LCHlch(59.21, 85.92, 319.48°)
OKLaboklab(67.64% 0.1643 -0.1564)
OKLCHoklch(67.64% 0.227 316.4)
XYZxyz(44.9291, 27.2552, 86.8813)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EF2 #84F25E
analogous
#825EF2 #CC5EF2 #F25ECE
triadic
#CC5EF2 #F2CC5E #5EF2CC
tetradic
#CC5EF2 #F2825E #84F25E #5ECEF2
square
#CC5EF2 #F2825E #84F25E #5ECEF2
split-complementary
#CC5EF2 #CEF25E #5EF282
monochromatic
#9710C6 #BA25ED #CC5EF2 #DE97F7 #F0CFFB

Accessibility & contrast

On white

3.26
#CC5EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#CC5EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EF2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EF2#FFFFFF#000000##000000
##CC5EF21.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E88F7
Deuteranopia (green-blind)
#6092EE
Tritanopia (blue-blind)
#CA78A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5ef2;
/* rgb */ color: rgb(204, 94, 242);
/* oklch */ color: oklch(67.6% 0.227 316.4);
Tailwind
colors: {
  custom: {
    50: '#df92f7',
    500: '#cc5ef2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ef2;
$custom-light: #df92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ef2",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 284.595,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67643,
    "c": 0.22685,
    "h": 316.4
  },
  "luminance": 0.27254
}

Semantic roles & 50–950 ramp

primary
#CC5EF2
secondary
#CAEEBD
accent
#E2043D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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