#CD54F1#CD54F1

#CD54F1 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.6% C 0.239 H 317.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CD54F1
RGBrgb(205, 84, 241)
HSLhsl(286, 85%, 64%)
HSVhsv(286, 65%, 95%)
CMYKcmyk(14.9%, 65.1%, 0%, 5.5%)
CIE-LABlab(57.72, 69.66, -57.64)
CIE-LCHlch(57.72, 90.41, 320.39°)
OKLaboklab(66.58% 0.1768 -0.1616)
OKLCHoklch(66.58% 0.239 317.6)
XYZxyz(44.2221, 25.6725, 85.8279)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54F1 #78F154
analogous
#7E54F1 #CD54F1 #F154C6
triadic
#CD54F1 #F1CD54 #54F1CD
tetradic
#CD54F1 #F17E54 #78F154 #54C6F1
square
#CD54F1 #F17E54 #78F154 #54C6F1
split-complementary
#CD54F1 #C6F154 #54F17E
monochromatic
#940FBB #BC1BEC #CD54F1 #DE8DF6 #EEC5FA

Accessibility & contrast

On white

3.42
#CD54F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CD54F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54F1
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54F1#FFFFFF#000000##000000
##CD54F11.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1283F6
Deuteranopia (green-blind)
#598EED
Tritanopia (blue-blind)
#CC719C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd54f1;
/* rgb */ color: rgb(205, 84, 241);
/* oklch */ color: oklch(66.6% 0.239 317.6);
Tailwind
colors: {
  custom: {
    50: '#e08cf6',
    500: '#cd54f1',
    950: '#000000',
  },
}
SCSS
$custom: #cd54f1;
$custom-light: #e08cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54f1",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 286.242,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6658,
    "c": 0.23948,
    "h": 317.6
  },
  "luminance": 0.25671
}

Semantic roles & 50–950 ramp

primary
#CD54F1
secondary
#C1ECB5
accent
#E10437
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD54F1

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

Preview Lab → · Contrast checker → · Palette generator →

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