#CD54BD#CD54BD

#CD54BD is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.8% C 0.195 H 333.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#CD54BD
RGBrgb(205, 84, 189)
HSLhsl(308, 55%, 57%)
HSVhsv(308, 59%, 80%)
CMYKcmyk(0%, 59%, 7.8%, 19.6%)
CIE-LABlab(55.07, 60.49, -32.38)
CIE-LCHlch(55.07, 68.61, 331.84°)
OKLaboklab(63.79% 0.174 -0.0884)
OKLCHoklch(63.79% 0.195 333.1)
XYZxyz(37.5325, 22.9967, 50.5962)
Luminance0.2299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54BD #54CD64
analogous
#A154CD #CD54BD #CD5481
triadic
#CD54BD #BDCD54 #54BDCD
tetradic
#CD54BD #CDA154 #54CD64 #5481CD
square
#CD54BD #CDA154 #54CD64 #5481CD
split-complementary
#CD54BD #81CD54 #54CDA1
monochromatic
#812675 #B034A0 #CD54BD #DB83CF #E9B3E2

Accessibility & contrast

On white

3.75
#CD54BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#CD54BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54BD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54BD#FFFFFF#000000##000000
##CD54BD1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5179C0
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#D55D81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd54bd;
/* rgb */ color: rgb(205, 84, 189);
/* oklch */ color: oklch(63.8% 0.195 333.1);
Tailwind
colors: {
  custom: {
    50: '#df8bd1',
    500: '#cd54bd',
    950: '#000000',
  },
}
SCSS
$custom: #cd54bd;
$custom-light: #df8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54bd",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 307.934,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63792,
    "c": 0.19515,
    "h": 333.1
  },
  "luminance": 0.22994
}

Semantic roles & 50–950 ramp

primary
#CD54BD
secondary
#A6D7AC
accent
#DE5D4A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CD54BD

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

Preview Lab → · Contrast checker → · Palette generator →

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