#CD7BD5#CD7BD5

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

Color values

HEX#CD7BD5
RGBrgb(205, 123, 213)
HSLhsl(295, 52%, 66%)
HSVhsv(295, 42%, 84%)
CMYKcmyk(3.8%, 42.3%, 0%, 16.5%)
CIE-LABlab(63.30, 45.76, -33.19)
CIE-LCHlch(63.30, 56.53, 324.04°)
OKLaboklab(70.23% 0.1244 -0.091)
OKLCHoklch(70.23% 0.154 323.8)
XYZxyz(44.2688, 31.9510, 66.7732)
Luminance0.3195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BD5 #83D57B
analogous
#A07BD5 #CD7BD5 #D57BB0
triadic
#CD7BD5 #D5CD7B #7BD5CD
tetradic
#CD7BD5 #D5A07B #83D57B #7BB0D5
square
#CD7BD5 #D5A07B #83D57B #7BB0D5
split-complementary
#CD7BD5 #B0D57B #7BD5A0
monochromatic
#9834A2 #BB4DC6 #CD7BD5 #DFA9E4 #F0D8F3

Accessibility & contrast

On white

2.84
#CD7BD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CD7BD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BD5
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BD5#FFFFFF#000000##000000
##CD7BD51.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7193D8
Deuteranopia (green-blind)
#879DD2
Tritanopia (blue-blind)
#D0859E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7bd5;
/* rgb */ color: rgb(205, 123, 213);
/* oklch */ color: oklch(70.2% 0.154 323.8);
Tailwind
colors: {
  custom: {
    50: '#dea3e2',
    500: '#cd7bd5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bd5;
$custom-light: #dea3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bd5",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 213
  },
  "hsl": {
    "h": 294.667,
    "s": 51.724,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70228,
    "c": 0.15413,
    "h": 323.8
  },
  "luminance": 0.31949
}

Semantic roles & 50–950 ramp

primary
#CD7BD5
secondary
#CAE5C7
accent
#BF2634
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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