#CD7BC3#CD7BC3

#CD7BC3 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.5% C 0.137 H 331.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CD7BC3
RGBrgb(205, 123, 195)
HSLhsl(307, 45%, 64%)
HSVhsv(307, 40%, 80%)
CMYKcmyk(0%, 40%, 4.9%, 19.6%)
CIE-LABlab(62.58, 42.46, -24.18)
CIE-LCHlch(62.58, 48.86, 330.33°)
OKLaboklab(69.45% 0.1204 -0.0655)
OKLCHoklch(69.45% 0.137 331.5)
XYZxyz(42.1097, 31.0873, 55.4016)
Luminance0.3109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BC3 #7BCD85
analogous
#AE7BCD #CD7BC3 #CD7B9A
triadic
#CD7BC3 #C3CD7B #7BC3CD
tetradic
#CD7BC3 #CDAE7B #7BCD85 #7B9ACD
square
#CD7BC3 #CDAE7B #7BCD85 #7B9ACD
split-complementary
#CD7BC3 #9ACD7B #7BCDAE
monochromatic
#95388A #BC4FAF #CD7BC3 #DEA7D7 #EFD4EB

Accessibility & contrast

On white

2.91
#CD7BC3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CD7BC3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BC3
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BC3#FFFFFF#000000##000000
##CD7BC31.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7990C6
Deuteranopia (green-blind)
#8E9BC0
Tritanopia (blue-blind)
#D38096
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7bc3;
/* rgb */ color: rgb(205, 123, 195);
/* oklch */ color: oklch(69.5% 0.137 331.5);
Tailwind
colors: {
  custom: {
    50: '#dea3d5',
    500: '#cd7bc3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bc3;
$custom-light: #dea3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bc3",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 195
  },
  "hsl": {
    "h": 307.317,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69451,
    "c": 0.13703,
    "h": 331.5
  },
  "luminance": 0.31085
}

Semantic roles & 50–950 ramp

primary
#CD7BC3
secondary
#C4E0C7
accent
#B83E2D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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