#CD7BD8#CD7BD8

#CD7BD8 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.4% C 0.157 H 322.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CD7BD8
RGBrgb(205, 123, 216)
HSLhsl(293, 54%, 66%)
HSVhsv(293, 43%, 85%)
CMYKcmyk(5.1%, 43.1%, 0%, 15.3%)
CIE-LABlab(63.43, 46.33, -34.67)
CIE-LCHlch(63.43, 57.86, 323.19°)
OKLaboklab(70.36% 0.125 -0.0952)
OKLCHoklch(70.36% 0.157 322.7)
XYZxyz(44.6531, 32.1047, 68.7971)
Luminance0.3210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BD8 #86D87B
analogous
#9F7BD8 #CD7BD8 #D87BB5
triadic
#CD7BD8 #D8CD7B #7BD8CD
tetradic
#CD7BD8 #D89F7B #86D87B #7BB5D8
square
#CD7BD8 #D89F7B #86D87B #7BB5D8
split-complementary
#CD7BD8 #B5D87B #7BD89F
monochromatic
#9931A7 #BB4CCA #CD7BD8 #DFAAE6 #F1D9F4

Accessibility & contrast

On white

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

On black

7.42
#CD7BD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BD8
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BD8#FFFFFF#000000##000000
##CD7BD81.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7093DB
Deuteranopia (green-blind)
#869DD5
Tritanopia (blue-blind)
#D0869F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7bd8;
/* rgb */ color: rgb(205, 123, 216);
/* oklch */ color: oklch(70.4% 0.157 322.7);
Tailwind
colors: {
  custom: {
    50: '#dea3e4',
    500: '#cd7bd8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bd8;
$custom-light: #dea3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bd8",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 216
  },
  "hsl": {
    "h": 292.903,
    "s": 54.386,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70365,
    "c": 0.15712,
    "h": 322.7
  },
  "luminance": 0.32103
}

Semantic roles & 50–950 ramp

primary
#CD7BD8
secondary
#CCE6C8
accent
#C22436
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CD7BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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