#CD7BC5#CD7BC5

#CD7BC5 is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.5% C 0.139 H 330.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CD7BC5
RGBrgb(205, 123, 197)
HSLhsl(306, 45%, 64%)
HSVhsv(306, 40%, 80%)
CMYKcmyk(0%, 40%, 3.9%, 19.6%)
CIE-LABlab(62.66, 42.81, -25.19)
CIE-LCHlch(62.66, 49.67, 329.52°)
OKLaboklab(69.53% 0.1209 -0.0683)
OKLCHoklch(69.53% 0.139 330.5)
XYZxyz(42.3373, 31.1784, 56.6005)
Luminance0.3118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BC5 #7BCD83
analogous
#AC7BCD #CD7BC5 #CD7B9C
triadic
#CD7BC5 #C5CD7B #7BC5CD
tetradic
#CD7BC5 #CDAC7B #7BCD83 #7B9CCD
square
#CD7BC5 #CDAC7B #7BCD83 #7B9CCD
split-complementary
#CD7BC5 #9CCD7B #7BCDAC
monochromatic
#95388C #BC4FB1 #CD7BC5 #DEA7D9 #EFD4EC

Accessibility & contrast

On white

2.90
#CD7BC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#CD7BC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BC5
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BC5#FFFFFF#000000##000000
##CD7BC51.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7891C8
Deuteranopia (green-blind)
#8D9CC2
Tritanopia (blue-blind)
#D38197
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7bc5;
/* rgb */ color: rgb(205, 123, 197);
/* oklch */ color: oklch(69.5% 0.139 330.5);
Tailwind
colors: {
  custom: {
    50: '#dea3d6',
    500: '#cd7bc5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bc5;
$custom-light: #dea3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bc5",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 305.854,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69533,
    "c": 0.13884,
    "h": 330.5
  },
  "luminance": 0.31176
}

Semantic roles & 50–950 ramp

primary
#CD7BC5
secondary
#C4E0C6
accent
#B83B2D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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