#CD58BA#CD58BA

#CD58BA is a light, vivid purple. Relative luminance 0.235; OKLCH L 64.1% C 0.187 H 334.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CD58BA
RGBrgb(205, 88, 186)
HSLhsl(310, 54%, 57%)
HSVhsv(310, 57%, 80%)
CMYKcmyk(0%, 57.1%, 9.3%, 19.6%)
CIE-LABlab(55.59, 58.24, -29.84)
CIE-LCHlch(55.59, 65.44, 332.87°)
OKLaboklab(64.13% 0.1684 -0.0812)
OKLCHoklch(64.13% 0.187 334.3)
XYZxyz(37.5296, 23.5065, 49.0054)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD58BA #58CD6B
analogous
#A658CD #CD58BA #CD587F
triadic
#CD58BA #BACD58 #58BACD
tetradic
#CD58BA #CDA658 #58CD6B #587FCD
square
#CD58BA #CDA658 #58CD6B #587FCD
split-complementary
#CD58BA #7FCD58 #58CDA6
monochromatic
#832774 #B2359E #CD58BA #DB87CD #E9B6E1

Accessibility & contrast

On white

3.68
#CD58BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CD58BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD58BA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD58BA#FFFFFF#000000##000000
##CD58BA1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#577ABD
Deuteranopia (green-blind)
#7A8BB7
Tritanopia (blue-blind)
#D65F81
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd58ba;
/* rgb */ color: rgb(205, 88, 186);
/* oklch */ color: oklch(64.1% 0.187 334.3);
Tailwind
colors: {
  custom: {
    50: '#df8dcf',
    500: '#cd58ba',
    950: '#000000',
  },
}
SCSS
$custom: #cd58ba;
$custom-light: #df8dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd58ba",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 309.744,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64131,
    "c": 0.18691,
    "h": 334.3
  },
  "luminance": 0.23504
}

Semantic roles & 50–950 ramp

primary
#CD58BA
secondary
#A9D8B0
accent
#DD624B
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #CD58BA

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

Preview Lab → · Contrast checker → · Palette generator →

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