#CD7BDC#CD7BDC

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

Color values

HEX#CD7BDC
RGBrgb(205, 123, 220)
HSLhsl(291, 58%, 67%)
HSVhsv(291, 44%, 86%)
CMYKcmyk(6.8%, 44.1%, 0%, 13.7%)
CIE-LABlab(63.60, 47.10, -36.64)
CIE-LCHlch(63.60, 59.67, 322.12°)
OKLaboklab(70.55% 0.1257 -0.1009)
OKLCHoklch(70.55% 0.161 321.2)
XYZxyz(45.1766, 32.3141, 71.5538)
Luminance0.3231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BDC #8ADC7B
analogous
#9D7BDC #CD7BDC #DC7BBA
triadic
#CD7BDC #DCCD7B #7BDCCD
tetradic
#CD7BDC #DC9D7B #8ADC7B #7BBADC
square
#CD7BDC #DC9D7B #8ADC7B #7BBADC
split-complementary
#CD7BDC #BADC7B #7BDC9D
monochromatic
#9B2EAE #BB4BCF #CD7BDC #DFABE9 #F2DCF6

Accessibility & contrast

On white

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

On black

7.46
#CD7BDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BDC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BDC#FFFFFF#000000##000000
##CD7BDC1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DF
Deuteranopia (green-blind)
#849DD9
Tritanopia (blue-blind)
#CF87A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7bdc;
/* rgb */ color: rgb(205, 123, 220);
/* oklch */ color: oklch(70.5% 0.161 321.2);
Tailwind
colors: {
  custom: {
    50: '#dea3e7',
    500: '#cd7bdc',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bdc;
$custom-light: #dea3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bdc",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 290.722,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.7055,
    "c": 0.16117,
    "h": 321.2
  },
  "luminance": 0.32312
}

Semantic roles & 50–950 ramp

primary
#CD7BDC
secondary
#CFE9CA
accent
#C62039
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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