#CD7BD7#CD7BD7

#CD7BD7 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.3% C 0.156 H 323.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CD7BD7
RGBrgb(205, 123, 215)
HSLhsl(293, 53%, 66%)
HSVhsv(293, 43%, 84%)
CMYKcmyk(4.7%, 42.8%, 0%, 15.7%)
CIE-LABlab(63.39, 46.14, -34.18)
CIE-LCHlch(63.39, 57.42, 323.47°)
OKLaboklab(70.32% 0.1248 -0.0938)
OKLCHoklch(70.32% 0.156 323.1)
XYZxyz(44.5243, 32.0532, 68.1184)
Luminance0.3205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BD7 #85D77B
analogous
#9F7BD7 #CD7BD7 #D77BB3
triadic
#CD7BD7 #D7CD7B #7BD7CD
tetradic
#CD7BD7 #D79F7B #85D77B #7BB3D7
square
#CD7BD7 #D79F7B #85D77B #7BB3D7
split-complementary
#CD7BD7 #B3D77B #7BD79F
monochromatic
#9932A5 #BB4CC9 #CD7BD7 #DFAAE5 #F1D9F3

Accessibility & contrast

On white

2.83
#CD7BD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CD7BD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BD7
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BD7#FFFFFF#000000##000000
##CD7BD71.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7093DA
Deuteranopia (green-blind)
#869DD4
Tritanopia (blue-blind)
#D0869F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7bd7;
/* rgb */ color: rgb(205, 123, 215);
/* oklch */ color: oklch(70.3% 0.156 323.1);
Tailwind
colors: {
  custom: {
    50: '#dea3e3',
    500: '#cd7bd7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bd7;
$custom-light: #dea3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bd7",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 215
  },
  "hsl": {
    "h": 293.478,
    "s": 53.488,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70319,
    "c": 0.15612,
    "h": 323.1
  },
  "luminance": 0.32051
}

Semantic roles & 50–950 ramp

primary
#CD7BD7
secondary
#CBE6C8
accent
#C12536
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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