#CD7AC3#CD7AC3

#CD7AC3 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.3% C 0.139 H 331.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CD7AC3
RGBrgb(205, 122, 195)
HSLhsl(307, 45%, 64%)
HSVhsv(307, 40%, 80%)
CMYKcmyk(0%, 40.5%, 4.9%, 19.6%)
CIE-LABlab(62.37, 42.98, -24.50)
CIE-LCHlch(62.37, 49.48, 330.31°)
OKLaboklab(69.29% 0.1219 -0.0664)
OKLCHoklch(69.29% 0.139 331.4)
XYZxyz(41.9863, 30.8405, 55.3604)
Luminance0.3084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AC3 #7ACD84
analogous
#AE7ACD #CD7AC3 #CD7A9A
triadic
#CD7AC3 #C3CD7A #7AC3CD
tetradic
#CD7AC3 #CDAE7A #7ACD84 #7A9ACD
square
#CD7AC3 #CDAE7A #7ACD84 #7A9ACD
split-complementary
#CD7AC3 #9ACD7A #7ACDAE
monochromatic
#95388A #BC4EAF #CD7AC3 #DEA6D7 #EED3EB

Accessibility & contrast

On white

2.93
#CD7AC3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CD7AC3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AC3
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AC3#FFFFFF#000000##000000
##CD7AC31.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7790C6
Deuteranopia (green-blind)
#8D9BC0
Tritanopia (blue-blind)
#D37F96
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7ac3;
/* rgb */ color: rgb(205, 122, 195);
/* oklch */ color: oklch(69.3% 0.139 331.4);
Tailwind
colors: {
  custom: {
    50: '#dea2d5',
    500: '#cd7ac3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ac3;
$custom-light: #dea2d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ac3",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 195
  },
  "hsl": {
    "h": 307.229,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69294,
    "c": 0.13877,
    "h": 331.4
  },
  "luminance": 0.30838
}

Semantic roles & 50–950 ramp

primary
#CD7AC3
secondary
#C3E0C6
accent
#B93E2D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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