#CD7BD4#CD7BD4

#CD7BD4 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.2% C 0.153 H 324.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CD7BD4
RGBrgb(205, 123, 212)
HSLhsl(295, 51%, 66%)
HSVhsv(295, 42%, 83%)
CMYKcmyk(3.3%, 42%, 0%, 16.9%)
CIE-LABlab(63.26, 45.57, -32.70)
CIE-LCHlch(63.26, 56.08, 324.34°)
OKLaboklab(70.18% 0.1242 -0.0896)
OKLCHoklch(70.18% 0.153 324.2)
XYZxyz(44.1423, 31.9004, 66.1068)
Luminance0.3190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BD4 #82D47B
analogous
#A07BD4 #CD7BD4 #D47BAE
triadic
#CD7BD4 #D4CD7B #7BD4CD
tetradic
#CD7BD4 #D4A07B #82D47B #7BAED4
square
#CD7BD4 #D4A07B #82D47B #7BAED4
split-complementary
#CD7BD4 #AED47B #7BD4A0
monochromatic
#9834A0 #BC4DC5 #CD7BD4 #DEA9E3 #F0D7F2

Accessibility & contrast

On white

2.85
#CD7BD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CD7BD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BD4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BD4#FFFFFF#000000##000000
##CD7BD41.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7193D7
Deuteranopia (green-blind)
#889DD1
Tritanopia (blue-blind)
#D0859E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7bd4;
/* rgb */ color: rgb(205, 123, 212);
/* oklch */ color: oklch(70.2% 0.153 324.2);
Tailwind
colors: {
  custom: {
    50: '#dea3e1',
    500: '#cd7bd4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bd4;
$custom-light: #dea3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bd4",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 212
  },
  "hsl": {
    "h": 295.281,
    "s": 50.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70183,
    "c": 0.15313,
    "h": 324.2
  },
  "luminance": 0.31899
}

Semantic roles & 50–950 ramp

primary
#CD7BD4
secondary
#C9E4C7
accent
#BE2733
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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