#CD7AD4#CD7AD4

#CD7AD4 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.0% C 0.155 H 324.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CD7AD4
RGBrgb(205, 122, 212)
HSLhsl(295, 51%, 65%)
HSVhsv(295, 42%, 83%)
CMYKcmyk(3.3%, 42.5%, 0%, 16.9%)
CIE-LABlab(63.06, 46.09, -33.01)
CIE-LCHlch(63.06, 56.69, 324.38°)
OKLaboklab(70.03% 0.1256 -0.0905)
OKLCHoklch(70.03% 0.155 324.2)
XYZxyz(44.0189, 31.6535, 66.0656)
Luminance0.3165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AD4 #81D47A
analogous
#A07AD4 #CD7AD4 #D47AAE
triadic
#CD7AD4 #D4CD7A #7AD4CD
tetradic
#CD7AD4 #D4A07A #81D47A #7AAED4
square
#CD7AD4 #D4A07A #81D47A #7AAED4
split-complementary
#CD7AD4 #AED47A #7AD4A0
monochromatic
#9734A0 #BC4CC5 #CD7AD4 #DEA8E3 #F0D6F2

Accessibility & contrast

On white

2.86
#CD7AD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CD7AD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AD4
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AD4#FFFFFF#000000##000000
##CD7AD41.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7092D7
Deuteranopia (green-blind)
#879CD1
Tritanopia (blue-blind)
#D0849D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7ad4;
/* rgb */ color: rgb(205, 122, 212);
/* oklch */ color: oklch(70.0% 0.155 324.2);
Tailwind
colors: {
  custom: {
    50: '#dea2e1',
    500: '#cd7ad4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ad4;
$custom-light: #dea2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ad4",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 212
  },
  "hsl": {
    "h": 295.333,
    "s": 51.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.7003,
    "c": 0.15483,
    "h": 324.2
  },
  "luminance": 0.31652
}

Semantic roles & 50–950 ramp

primary
#CD7AD4
secondary
#C8E4C6
accent
#BF2733
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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