#CD54F0#CD54F0

#CD54F0 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.5% C 0.239 H 317.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CD54F0
RGBrgb(205, 84, 240)
HSLhsl(287, 84%, 64%)
HSVhsv(287, 65%, 94%)
CMYKcmyk(14.6%, 65%, 0%, 5.9%)
CIE-LABlab(57.67, 69.47, -57.17)
CIE-LCHlch(57.67, 89.97, 320.55°)
OKLaboklab(66.52% 0.1768 -0.1602)
OKLCHoklch(66.52% 0.239 317.8)
XYZxyz(44.0731, 25.6129, 85.0434)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54F0 #77F054
analogous
#7F54F0 #CD54F0 #F054C5
triadic
#CD54F0 #F0CD54 #54F0CD
tetradic
#CD54F0 #F07F54 #77F054 #54C5F0
square
#CD54F0 #F07F54 #77F054 #54C5F0
split-complementary
#CD54F0 #C5F054 #54F07F
monochromatic
#9310B9 #BD1CEB #CD54F0 #DD8CF5 #EEC5FA

Accessibility & contrast

On white

3.43
#CD54F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CD54F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54F0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54F0#FFFFFF#000000##000000
##CD54F01.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1683F5
Deuteranopia (green-blind)
#5A8EEC
Tritanopia (blue-blind)
#CC709B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd54f0;
/* rgb */ color: rgb(205, 84, 240);
/* oklch */ color: oklch(66.5% 0.239 317.8);
Tailwind
colors: {
  custom: {
    50: '#e08cf6',
    500: '#cd54f0',
    950: '#000000',
  },
}
SCSS
$custom: #cd54f0;
$custom-light: #e08cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54f0",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 240
  },
  "hsl": {
    "h": 286.538,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6652,
    "c": 0.23858,
    "h": 317.8
  },
  "luminance": 0.25611
}

Semantic roles & 50–950 ramp

primary
#CD54F0
secondary
#C1ECB4
accent
#E00536
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD54F0

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

Preview Lab → · Contrast checker → · Palette generator →

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