#CD7BD2#CD7BD2

#CD7BD2 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.1% C 0.151 H 325.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CD7BD2
RGBrgb(205, 123, 210)
HSLhsl(297, 49%, 65%)
HSVhsv(297, 41%, 82%)
CMYKcmyk(2.4%, 41.4%, 0%, 17.6%)
CIE-LABlab(63.18, 45.19, -31.70)
CIE-LCHlch(63.18, 55.20, 324.95°)
OKLaboklab(70.09% 0.1238 -0.0868)
OKLCHoklch(70.09% 0.151 325)
XYZxyz(43.8916, 31.8001, 64.7863)
Luminance0.3180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BD2 #80D27B
analogous
#A27BD2 #CD7BD2 #D27BAB
triadic
#CD7BD2 #D2CD7B #7BD2CD
tetradic
#CD7BD2 #D2A27B #80D27B #7BABD2
square
#CD7BD2 #D2A27B #80D27B #7BABD2
split-complementary
#CD7BD2 #ABD27B #7BD2A2
monochromatic
#97369D #BC4DC2 #CD7BD2 #DEA9E2 #F0D6F1

Accessibility & contrast

On white

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

On black

7.36
#CD7BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BD2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BD2#FFFFFF#000000##000000
##CD7BD21.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7292D5
Deuteranopia (green-blind)
#889CCF
Tritanopia (blue-blind)
#D1849D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7bd2;
/* rgb */ color: rgb(205, 123, 210);
/* oklch */ color: oklch(70.1% 0.151 325.0);
Tailwind
colors: {
  custom: {
    50: '#dea3e0',
    500: '#cd7bd2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bd2;
$custom-light: #dea3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bd2",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 296.552,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70094,
    "c": 0.15116,
    "h": 325
  },
  "luminance": 0.31798
}

Semantic roles & 50–950 ramp

primary
#CD7BD2
secondary
#C7E3C6
accent
#BC2932
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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