#CD7BDB#CD7BDB

#CD7BDB is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.5% C 0.160 H 321.6°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CD7BDB
RGBrgb(205, 123, 219)
HSLhsl(291, 57%, 67%)
HSVhsv(291, 44%, 86%)
CMYKcmyk(6.4%, 43.8%, 0%, 14.1%)
CIE-LABlab(63.56, 46.90, -36.15)
CIE-LCHlch(63.56, 59.22, 322.38°)
OKLaboklab(70.5% 0.1255 -0.0995)
OKLCHoklch(70.5% 0.16 321.6)
XYZxyz(45.0445, 32.2613, 70.8584)
Luminance0.3226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BDB #89DB7B
analogous
#9D7BDB #CD7BDB #DB7BB9
triadic
#CD7BDB #DBCD7B #7BDBCD
tetradic
#CD7BDB #DB9D7B #89DB7B #7BB9DB
square
#CD7BDB #DB9D7B #89DB7B #7BB9DB
split-complementary
#CD7BDB #B9DB7B #7BDB9D
monochromatic
#9A2FAD #BB4BCE #CD7BDB #DFABE8 #F1DBF5

Accessibility & contrast

On white

2.82
#CD7BDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CD7BDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BDB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BDB#FFFFFF#000000##000000
##CD7BDB1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DE
Deuteranopia (green-blind)
#859DD8
Tritanopia (blue-blind)
#CF87A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7bdb;
/* rgb */ color: rgb(205, 123, 219);
/* oklch */ color: oklch(70.5% 0.160 321.6);
Tailwind
colors: {
  custom: {
    50: '#dea3e6',
    500: '#cd7bdb',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bdb;
$custom-light: #dea3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bdb",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 291.25,
    "s": 57.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70503,
    "c": 0.16015,
    "h": 321.6
  },
  "luminance": 0.3226
}

Semantic roles & 50–950 ramp

primary
#CD7BDB
secondary
#CEE8CA
accent
#C52139
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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