#CD46B7#CD46B7

#CD46B7 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 62.0% C 0.210 H 334.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CD46B7
RGBrgb(205, 70, 183)
HSLhsl(310, 57%, 54%)
HSVhsv(310, 66%, 80%)
CMYKcmyk(0%, 65.9%, 10.7%, 19.6%)
CIE-LABlab(52.71, 65.32, -32.59)
CIE-LCHlch(52.71, 73.00, 333.48°)
OKLaboklab(61.98% 0.1901 -0.0889)
OKLCHoklch(61.98% 0.21 334.9)
XYZxyz(35.9146, 20.7813, 46.9102)
Luminance0.2078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD46B7 #46CD5C
analogous
#A046CD #CD46B7 #CD4674
triadic
#CD46B7 #B7CD46 #46B7CD
tetradic
#CD46B7 #CDA046 #46CD5C #4674CD
square
#CD46B7 #CDA046 #46CD5C #4674CD
split-complementary
#CD46B7 #74CD46 #46CDA0
monochromatic
#78206A #A82D94 #CD46B7 #DA76CA #E7A6DD

Accessibility & contrast

On white

4.07
#CD46B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CD46B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD46B7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD46B7#FFFFFF#000000##000000
##CD46B71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#7285B4
Tritanopia (blue-blind)
#D74F78
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd46b7;
/* rgb */ color: rgb(205, 70, 183);
/* oklch */ color: oklch(62.0% 0.210 334.9);
Tailwind
colors: {
  custom: {
    50: '#e083cd',
    500: '#cd46b7',
    950: '#000000',
  },
}
SCSS
$custom: #cd46b7;
$custom-light: #e083cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd46b7",
  "rgb": {
    "r": 205,
    "g": 70,
    "b": 183
  },
  "hsl": {
    "h": 309.778,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61981,
    "c": 0.20981,
    "h": 334.9
  },
  "luminance": 0.20778
}

Semantic roles & 50–950 ramp

primary
#CD46B7
secondary
#9BD4A4
accent
#E16047
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD46B7

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

Preview Lab → · Contrast checker → · Palette generator →

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