#CD7BD1#CD7BD1

#CD7BD1 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.0% C 0.150 H 325.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CD7BD1
RGBrgb(205, 123, 209)
HSLhsl(297, 48%, 65%)
HSVhsv(297, 41%, 82%)
CMYKcmyk(1.9%, 41.1%, 0%, 18%)
CIE-LABlab(63.14, 45.00, -31.21)
CIE-LCHlch(63.14, 54.77, 325.26°)
OKLaboklab(70.05% 0.1236 -0.0854)
OKLCHoklch(70.05% 0.15 325.4)
XYZxyz(43.7674, 31.7504, 64.1322)
Luminance0.3175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BD1 #7FD17B
analogous
#A27BD1 #CD7BD1 #D17BAA
triadic
#CD7BD1 #D1CD7B #7BD1CD
tetradic
#CD7BD1 #D1A27B #7FD17B #7BAAD1
square
#CD7BD1 #D1A27B #7FD17B #7BAAD1
split-complementary
#CD7BD1 #AAD17B #7BD1A2
monochromatic
#97369B #BC4EC1 #CD7BD1 #DEA8E1 #EFD6F1

Accessibility & contrast

On white

2.86
#CD7BD1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CD7BD1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BD1
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BD1#FFFFFF#000000##000000
##CD7BD11.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7392D4
Deuteranopia (green-blind)
#899CCE
Tritanopia (blue-blind)
#D1849C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7bd1;
/* rgb */ color: rgb(205, 123, 209);
/* oklch */ color: oklch(70.0% 0.150 325.4);
Tailwind
colors: {
  custom: {
    50: '#dea3df',
    500: '#cd7bd1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bd1;
$custom-light: #dea3df;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bd1",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 209
  },
  "hsl": {
    "h": 297.209,
    "s": 48.315,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70049,
    "c": 0.15019,
    "h": 325.4
  },
  "luminance": 0.31749
}

Semantic roles & 50–950 ramp

primary
#CD7BD1
secondary
#C7E2C5
accent
#BC2A31
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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