#CD7BC1#CD7BC1

#CD7BC1 is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.4% C 0.135 H 332.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CD7BC1
RGBrgb(205, 123, 193)
HSLhsl(309, 45%, 64%)
HSVhsv(309, 40%, 80%)
CMYKcmyk(0%, 40%, 5.9%, 19.6%)
CIE-LABlab(62.51, 42.10, -23.17)
CIE-LCHlch(62.51, 48.06, 331.18°)
OKLaboklab(69.37% 0.1199 -0.0626)
OKLCHoklch(69.37% 0.135 332.4)
XYZxyz(41.8851, 30.9975, 54.2186)
Luminance0.3100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BC1 #7BCD87
analogous
#B07BCD #CD7BC1 #CD7B98
triadic
#CD7BC1 #C1CD7B #7BC1CD
tetradic
#CD7BC1 #CDB07B #7BCD87 #7B98CD
square
#CD7BC1 #CDB07B #7BCD87 #7B98CD
split-complementary
#CD7BC1 #98CD7B #7BCDB0
monochromatic
#953888 #BC4FAC #CD7BC1 #DEA7D6 #EFD4EB

Accessibility & contrast

On white

2.92
#CD7BC1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CD7BC1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BC1
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BC1#FFFFFF#000000##000000
##CD7BC11.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7990C4
Deuteranopia (green-blind)
#8F9BBF
Tritanopia (blue-blind)
#D48095
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7bc1;
/* rgb */ color: rgb(205, 123, 193);
/* oklch */ color: oklch(69.4% 0.135 332.4);
Tailwind
colors: {
  custom: {
    50: '#dea3d4',
    500: '#cd7bc1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bc1;
$custom-light: #dea3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bc1",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 193
  },
  "hsl": {
    "h": 308.78,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69369,
    "c": 0.13524,
    "h": 332.4
  },
  "luminance": 0.30995
}

Semantic roles & 50–950 ramp

primary
#CD7BC1
secondary
#C4E0C8
accent
#B8422D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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