#CD34BF#CD34BF

#CD34BF is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.8% C 0.236 H 332.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CD34BF
RGBrgb(205, 52, 191)
HSLhsl(305, 60%, 50%)
HSVhsv(305, 75%, 80%)
CMYKcmyk(0%, 74.6%, 6.8%, 19.6%)
CIE-LABlab(50.92, 72.67, -40.04)
CIE-LCHlch(50.92, 82.98, 331.14°)
OKLaboklab(60.82% 0.2087 -0.1101)
OKLCHoklch(60.82% 0.236 332.2)
XYZxyz(35.8089, 19.1997, 51.1001)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD34BF #34CD42
analogous
#8E34CD #CD34BF #CD3473
triadic
#CD34BF #BFCD34 #34BFCD
tetradic
#CD34BF #CD8E34 #34CD42 #3473CD
square
#CD34BF #CD8E34 #34CD42 #3473CD
split-complementary
#CD34BF #73CD34 #34CD8E
monochromatic
#6C1B65 #9D2792 #CD34BF #D965CE #E596DE

Accessibility & contrast

On white

4.34
#CD34BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CD34BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD34BF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD34BF#FFFFFF#000000##000000
##CD34BF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#296CC3
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#D64677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd34bf;
/* rgb */ color: rgb(205, 52, 191);
/* oklch */ color: oklch(60.8% 0.236 332.2);
Tailwind
colors: {
  custom: {
    50: '#e07bd3',
    500: '#cd34bf',
    950: '#000000',
  },
}
SCSS
$custom: #cd34bf;
$custom-light: #e07bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd34bf",
  "rgb": {
    "r": 205,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 305.49,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60816,
    "c": 0.23599,
    "h": 332.2
  },
  "luminance": 0.19197
}

Semantic roles & 50–950 ramp

primary
#CD34BF
secondary
#8CD193
accent
#E45344
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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