#CD7BC4#CD7BC4

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

Color values

HEX#CD7BC4
RGBrgb(205, 123, 196)
HSLhsl(307, 45%, 64%)
HSVhsv(307, 40%, 80%)
CMYKcmyk(0%, 40%, 4.4%, 19.6%)
CIE-LABlab(62.62, 42.63, -24.69)
CIE-LCHlch(62.62, 49.27, 329.93°)
OKLaboklab(69.49% 0.1206 -0.0669)
OKLCHoklch(69.49% 0.138 331)
XYZxyz(42.2231, 31.1327, 55.9990)
Luminance0.3113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BC4 #7BCD84
analogous
#AD7BCD #CD7BC4 #CD7B9B
triadic
#CD7BC4 #C4CD7B #7BC4CD
tetradic
#CD7BC4 #CDAD7B #7BCD84 #7B9BCD
square
#CD7BC4 #CDAD7B #7BCD84 #7B9BCD
split-complementary
#CD7BC4 #9BCD7B #7BCDAD
monochromatic
#95388B #BC4FB0 #CD7BC4 #DEA7D8 #EFD4EC

Accessibility & contrast

On white

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

On black

7.23
#CD7BC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BC4
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BC4#FFFFFF#000000##000000
##CD7BC41.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7890C7
Deuteranopia (green-blind)
#8E9CC1
Tritanopia (blue-blind)
#D38197
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7bc4;
/* rgb */ color: rgb(205, 123, 196);
/* oklch */ color: oklch(69.5% 0.138 331.0);
Tailwind
colors: {
  custom: {
    50: '#dea3d6',
    500: '#cd7bc4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bc4;
$custom-light: #dea3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bc4",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 196
  },
  "hsl": {
    "h": 306.585,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69492,
    "c": 0.13793,
    "h": 331
  },
  "luminance": 0.31131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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