#CD7AC2#CD7AC2

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

Color values

HEX#CD7AC2
RGBrgb(205, 122, 194)
HSLhsl(308, 45%, 64%)
HSVhsv(308, 40%, 80%)
CMYKcmyk(0%, 40.5%, 5.4%, 19.6%)
CIE-LABlab(62.33, 42.81, -24.00)
CIE-LCHlch(62.33, 49.07, 330.73°)
OKLaboklab(69.25% 0.1216 -0.0649)
OKLCHoklch(69.25% 0.138 331.9)
XYZxyz(41.8736, 30.7954, 54.7670)
Luminance0.3079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AC2 #7ACD85
analogous
#AF7ACD #CD7AC2 #CD7A99
triadic
#CD7AC2 #C2CD7A #7AC2CD
tetradic
#CD7AC2 #CDAF7A #7ACD85 #7A99CD
square
#CD7AC2 #CDAF7A #7ACD85 #7A99CD
split-complementary
#CD7AC2 #99CD7A #7ACDAF
monochromatic
#953888 #BC4EAE #CD7AC2 #DEA6D6 #EED3EB

Accessibility & contrast

On white

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

On black

7.16
#CD7AC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AC2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AC2#FFFFFF#000000##000000
##CD7AC21.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#788FC5
Deuteranopia (green-blind)
#8E9BBF
Tritanopia (blue-blind)
#D47F95
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7ac2;
/* rgb */ color: rgb(205, 122, 194);
/* oklch */ color: oklch(69.3% 0.138 331.9);
Tailwind
colors: {
  custom: {
    50: '#dea2d4',
    500: '#cd7ac2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ac2;
$custom-light: #dea2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ac2",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 194
  },
  "hsl": {
    "h": 307.952,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69253,
    "c": 0.13788,
    "h": 331.9
  },
  "luminance": 0.30793
}

Semantic roles & 50–950 ramp

primary
#CD7AC2
secondary
#C3E0C7
accent
#B93F2D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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