#CD54BA#CD54BA

#CD54BA is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.7% C 0.193 H 334.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CD54BA
RGBrgb(205, 84, 186)
HSLhsl(309, 55%, 57%)
HSVhsv(309, 59%, 80%)
CMYKcmyk(0%, 59%, 9.3%, 19.6%)
CIE-LABlab(54.94, 60.01, -30.86)
CIE-LCHlch(54.94, 67.48, 332.79°)
OKLaboklab(63.65% 0.1736 -0.084)
OKLCHoklch(63.65% 0.193 334.2)
XYZxyz(37.2102, 22.8678, 48.8989)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54BA #54CD67
analogous
#A354CD #CD54BA #CD547E
triadic
#CD54BA #BACD54 #54BACD
tetradic
#CD54BA #CDA354 #54CD67 #547ECD
square
#CD54BA #CDA354 #54CD67 #547ECD
split-complementary
#CD54BA #7ECD54 #54CDA3
monochromatic
#812673 #B0349D #CD54BA #DB83CD #E9B3E0

Accessibility & contrast

On white

3.77
#CD54BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CD54BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54BA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54BA#FFFFFF#000000##000000
##CD54BA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5378BD
Deuteranopia (green-blind)
#788AB7
Tritanopia (blue-blind)
#D65C7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd54ba;
/* rgb */ color: rgb(205, 84, 186);
/* oklch */ color: oklch(63.7% 0.193 334.2);
Tailwind
colors: {
  custom: {
    50: '#df8bcf',
    500: '#cd54ba',
    950: '#000000',
  },
}
SCSS
$custom: #cd54ba;
$custom-light: #df8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54ba",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 309.421,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63651,
    "c": 0.19282,
    "h": 334.2
  },
  "luminance": 0.22865
}

Semantic roles & 50–950 ramp

primary
#CD54BA
secondary
#A6D7AD
accent
#DE614A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CD54BA

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

Preview Lab → · Contrast checker → · Palette generator →

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