#CD7BD3#CD7BD3

#CD7BD3 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.1% C 0.152 H 324.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CD7BD3
RGBrgb(205, 123, 211)
HSLhsl(296, 50%, 65%)
HSVhsv(296, 42%, 83%)
CMYKcmyk(2.8%, 41.7%, 0%, 17.3%)
CIE-LABlab(63.22, 45.38, -32.20)
CIE-LCHlch(63.22, 55.64, 324.64°)
OKLaboklab(70.14% 0.124 -0.0882)
OKLCHoklch(70.14% 0.152 324.6)
XYZxyz(44.0166, 31.8501, 65.4445)
Luminance0.3185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BD3 #81D37B
analogous
#A17BD3 #CD7BD3 #D37BAD
triadic
#CD7BD3 #D3CD7B #7BD3CD
tetradic
#CD7BD3 #D3A17B #81D37B #7BADD3
square
#CD7BD3 #D3A17B #81D37B #7BADD3
split-complementary
#CD7BD3 #ADD37B #7BD3A1
monochromatic
#97359F #BC4DC4 #CD7BD3 #DEA9E2 #F0D7F2

Accessibility & contrast

On white

2.85
#CD7BD3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CD7BD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BD3
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BD3#FFFFFF#000000##000000
##CD7BD31.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7293D6
Deuteranopia (green-blind)
#889DD0
Tritanopia (blue-blind)
#D1859D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7bd3;
/* rgb */ color: rgb(205, 123, 211);
/* oklch */ color: oklch(70.1% 0.152 324.6);
Tailwind
colors: {
  custom: {
    50: '#dea3e0',
    500: '#cd7bd3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bd3;
$custom-light: #dea3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bd3",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 211
  },
  "hsl": {
    "h": 295.909,
    "s": 50,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70138,
    "c": 0.15215,
    "h": 324.6
  },
  "luminance": 0.31848
}

Semantic roles & 50–950 ramp

primary
#CD7BD3
secondary
#C8E4C6
accent
#BD2832
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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