#CD7BDD#CD7BDD

#CD7BDD is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.6% C 0.162 H 320.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CD7BDD
RGBrgb(205, 123, 221)
HSLhsl(290, 59%, 67%)
HSVhsv(290, 44%, 87%)
CMYKcmyk(7.2%, 44.3%, 0%, 13.3%)
CIE-LABlab(63.65, 47.29, -37.13)
CIE-LCHlch(63.65, 60.12, 321.87°)
OKLaboklab(70.6% 0.1259 -0.1023)
OKLCHoklch(70.6% 0.162 320.9)
XYZxyz(45.3094, 32.3672, 72.2534)
Luminance0.3237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BDD #8BDD7B
analogous
#9C7BDD #CD7BDD #DD7BBC
triadic
#CD7BDD #DDCD7B #7BDDCD
tetradic
#CD7BDD #DD9C7B #8BDD7B #7BBCDD
square
#CD7BDD #DD9C7B #8BDD7B #7BBCDD
split-complementary
#CD7BDD #BCDD7B #7BDD9C
monochromatic
#9B2DB0 #BB4AD0 #CD7BDD #DFACEA #F2DCF6

Accessibility & contrast

On white

2.81
#CD7BDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CD7BDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BDD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BDD#FFFFFF#000000##000000
##CD7BDD1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94E0
Deuteranopia (green-blind)
#849DDA
Tritanopia (blue-blind)
#CF87A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7bdd;
/* rgb */ color: rgb(205, 123, 221);
/* oklch */ color: oklch(70.6% 0.162 320.9);
Tailwind
colors: {
  custom: {
    50: '#dea3e8',
    500: '#cd7bdd',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bdd;
$custom-light: #dea3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bdd",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 290.204,
    "s": 59.036,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70597,
    "c": 0.16219,
    "h": 320.9
  },
  "luminance": 0.32366
}

Semantic roles & 50–950 ramp

primary
#CD7BDD
secondary
#D0E9CB
accent
#C71F3A
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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