#CD7BC0#CD7BC0

#CD7BC0 is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.3% C 0.134 H 332.9°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CD7BC0
RGBrgb(205, 123, 192)
HSLhsl(310, 45%, 64%)
HSVhsv(310, 40%, 80%)
CMYKcmyk(0%, 40%, 6.3%, 19.6%)
CIE-LABlab(62.47, 41.93, -22.66)
CIE-LCHlch(62.47, 47.66, 331.61°)
OKLaboklab(69.33% 0.1196 -0.0612)
OKLCHoklch(69.33% 0.134 332.9)
XYZxyz(41.7739, 30.9530, 53.6331)
Luminance0.3095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BC0 #7BCD88
analogous
#B17BCD #CD7BC0 #CD7B97
triadic
#CD7BC0 #C0CD7B #7BC0CD
tetradic
#CD7BC0 #CDB17B #7BCD88 #7B97CD
square
#CD7BC0 #CDB17B #7BCD88 #7B97CD
split-complementary
#CD7BC0 #97CD7B #7BCDB1
monochromatic
#953886 #BC4FAB #CD7BC0 #DEA7D5 #EFD4EA

Accessibility & contrast

On white

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

On black

7.19
#CD7BC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BC0
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BC0#FFFFFF#000000##000000
##CD7BC01.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A90C3
Deuteranopia (green-blind)
#8F9BBE
Tritanopia (blue-blind)
#D48095
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7bc0;
/* rgb */ color: rgb(205, 123, 192);
/* oklch */ color: oklch(69.3% 0.134 332.9);
Tailwind
colors: {
  custom: {
    50: '#dea3d3',
    500: '#cd7bc0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bc0;
$custom-light: #dea3d3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bc0",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 192
  },
  "hsl": {
    "h": 309.512,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69328,
    "c": 0.13437,
    "h": 332.9
  },
  "luminance": 0.30951
}

Semantic roles & 50–950 ramp

primary
#CD7BC0
secondary
#C4E0C8
accent
#B8432D
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CD7BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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