#CD54E3#CD54E3

#CD54E3 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.8% C 0.227 H 321.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CD54E3
RGBrgb(205, 84, 227)
HSLhsl(291, 72%, 61%)
HSVhsv(291, 63%, 89%)
CMYKcmyk(9.7%, 63%, 0%, 11%)
CIE-LABlab(56.95, 67.05, -51.04)
CIE-LCHlch(56.95, 84.27, 322.72°)
OKLaboklab(65.77% 0.1769 -0.1423)
OKLCHoklch(65.77% 0.227 321.2)
XYZxyz(42.2107, 24.8679, 75.2347)
Luminance0.2487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54E3 #6AE354
analogous
#8554E3 #CD54E3 #E354B1
triadic
#CD54E3 #E3CD54 #54E3CD
tetradic
#CD54E3 #E38554 #6AE354 #54B1E3
square
#CD54E3 #E38554 #6AE354 #54B1E3
split-complementary
#CD54E3 #B1E354 #54E385
monochromatic
#8D1BA2 #BB23D7 #CD54E3 #DC89EC #ECBDF4

Accessibility & contrast

On white

3.52
#CD54E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CD54E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54E3
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54E3#FFFFFF#000000##000000
##CD54E31.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F80E7
Deuteranopia (green-blind)
#638DDF
Tritanopia (blue-blind)
#CF6B94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd54e3;
/* rgb */ color: rgb(205, 84, 227);
/* oklch */ color: oklch(65.8% 0.227 321.2);
Tailwind
colors: {
  custom: {
    50: '#e08cec',
    500: '#cd54e3',
    950: '#000000',
  },
}
SCSS
$custom: #cd54e3;
$custom-light: #e08cec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54e3",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 290.769,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65768,
    "c": 0.22703,
    "h": 321.2
  },
  "luminance": 0.24866
}

Semantic roles & 50–950 ramp

primary
#CD54E3
secondary
#B7E4AE
accent
#D4122F
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD54E3

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

Preview Lab → · Contrast checker → · Palette generator →

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