#CD52F1#CD52F1

#CD52F1 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.4% C 0.242 H 317.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CD52F1
RGBrgb(205, 82, 241)
HSLhsl(286, 85%, 63%)
HSVhsv(286, 66%, 95%)
CMYKcmyk(14.9%, 66%, 0%, 5.5%)
CIE-LABlab(57.43, 70.48, -58.11)
CIE-LCHlch(57.43, 91.35, 320.50°)
OKLaboklab(66.37% 0.1789 -0.1629)
OKLCHoklch(66.37% 0.242 317.7)
XYZxyz(44.0691, 25.3664, 85.7769)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD52F1 #76F152
analogous
#7D52F1 #CD52F1 #F152C5
triadic
#CD52F1 #F1CD52 #52F1CD
tetradic
#CD52F1 #F17D52 #76F152 #52C5F1
square
#CD52F1 #F17D52 #76F152 #52C5F1
split-complementary
#CD52F1 #C5F152 #52F17D
monochromatic
#930FBA #BD19EC #CD52F1 #DD8BF6 #EEC3FA

Accessibility & contrast

On white

3.46
#CD52F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#CD52F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD52F1
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD52F1#FFFFFF#000000##000000
##CD52F11.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0582F6
Deuteranopia (green-blind)
#578EED
Tritanopia (blue-blind)
#CC709B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd52f1;
/* rgb */ color: rgb(205, 82, 241);
/* oklch */ color: oklch(66.4% 0.242 317.7);
Tailwind
colors: {
  custom: {
    50: '#e08bf6',
    500: '#cd52f1',
    950: '#000000',
  },
}
SCSS
$custom: #cd52f1;
$custom-light: #e08bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd52f1",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 286.415,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66368,
    "c": 0.24197,
    "h": 317.7
  },
  "luminance": 0.25365
}

Semantic roles & 50–950 ramp

primary
#CD52F1
secondary
#C0ECB3
accent
#E20436
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #CD52F1

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

Preview Lab → · Contrast checker → · Palette generator →

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