#CD7BC7#CD7BC7

#CD7BC7 is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.6% C 0.141 H 329.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CD7BC7
RGBrgb(205, 123, 199)
HSLhsl(304, 45%, 64%)
HSVhsv(304, 40%, 80%)
CMYKcmyk(0%, 40%, 2.9%, 19.6%)
CIE-LABlab(62.74, 43.17, -26.20)
CIE-LCHlch(62.74, 50.50, 328.74°)
OKLaboklab(69.62% 0.1213 -0.0712)
OKLCHoklch(69.62% 0.141 329.6)
XYZxyz(42.5680, 31.2707, 57.8154)
Luminance0.3127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BC7 #7BCD81
analogous
#AA7BCD #CD7BC7 #CD7B9E
triadic
#CD7BC7 #C7CD7B #7BC7CD
tetradic
#CD7BC7 #CDAA7B #7BCD81 #7B9ECD
square
#CD7BC7 #CDAA7B #7BCD81 #7B9ECD
split-complementary
#CD7BC7 #9ECD7B #7BCDAA
monochromatic
#95388E #BC4FB4 #CD7BC7 #DEA7DA #EFD4ED

Accessibility & contrast

On white

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

On black

7.25
#CD7BC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BC7
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BC7#FFFFFF#000000##000000
##CD7BC71.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7791CA
Deuteranopia (green-blind)
#8D9CC4
Tritanopia (blue-blind)
#D38198
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7bc7;
/* rgb */ color: rgb(205, 123, 199);
/* oklch */ color: oklch(69.6% 0.141 329.6);
Tailwind
colors: {
  custom: {
    50: '#dea3d8',
    500: '#cd7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bc7;
$custom-light: #dea3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bc7",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 304.39,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69617,
    "c": 0.14067,
    "h": 329.6
  },
  "luminance": 0.31269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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