#CD54FF#CD54FF

#CD54FF is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.4% C 0.252 H 314.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CD54FF
RGBrgb(205, 84, 255)
HSLhsl(282, 100%, 66%)
HSVhsv(282, 67%, 100%)
CMYKcmyk(19.6%, 67.1%, 0%, 0%)
CIE-LABlab(58.55, 72.36, -64.09)
CIE-LCHlch(58.55, 96.66, 318.47°)
OKLaboklab(67.43% 0.176 -0.1804)
OKLCHoklch(67.43% 0.252 314.3)
XYZxyz(46.3941, 26.5413, 97.2674)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54FF #86FF54
analogous
#7854FF #CD54FF #FF54DC
triadic
#CD54FF #FFCD54 #54FFCD
tetradic
#CD54FF #FF7854 #86FF54 #54DCFF
square
#CD54FF #FF7854 #86FF54 #54DCFF
split-complementary
#CD54FF #DCFF54 #54FF78
monochromatic
#9900D9 #BB17FF #CD54FF #DF91FF #F1CEFF

Accessibility & contrast

On white

3.33
#CD54FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CD54FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54FF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54FF#FFFFFF#000000##000000
##CD54FF1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#4C90FB
Tritanopia (blue-blind)
#C976A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd54ff;
/* rgb */ color: rgb(205, 84, 255);
/* oklch */ color: oklch(67.4% 0.252 314.3);
Tailwind
colors: {
  custom: {
    50: '#e18dff',
    500: '#cd54ff',
    950: '#000000',
  },
}
SCSS
$custom: #cd54ff;
$custom-light: #e18dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54ff",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 282.456,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67434,
    "c": 0.2521,
    "h": 314.3
  },
  "luminance": 0.2654
}

Semantic roles & 50–950 ramp

primary
#CD54FF
secondary
#CCF3BC
accent
#E60043
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD54FF

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

Preview Lab → · Contrast checker → · Palette generator →

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