#CD7BC2#CD7BC2

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

Color values

HEX#CD7BC2
RGBrgb(205, 123, 194)
HSLhsl(308, 45%, 64%)
HSVhsv(308, 40%, 80%)
CMYKcmyk(0%, 40%, 5.4%, 19.6%)
CIE-LABlab(62.54, 42.28, -23.68)
CIE-LCHlch(62.54, 48.46, 330.75°)
OKLaboklab(69.41% 0.1201 -0.064)
OKLCHoklch(69.41% 0.136 331.9)
XYZxyz(41.9970, 31.0423, 54.8081)
Luminance0.3104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BC2 #7BCD86
analogous
#AF7BCD #CD7BC2 #CD7B99
triadic
#CD7BC2 #C2CD7B #7BC2CD
tetradic
#CD7BC2 #CDAF7B #7BCD86 #7B99CD
square
#CD7BC2 #CDAF7B #7BCD86 #7B99CD
split-complementary
#CD7BC2 #99CD7B #7BCDAF
monochromatic
#953889 #BC4FAD #CD7BC2 #DEA7D7 #EFD4EB

Accessibility & contrast

On white

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

On black

7.21
#CD7BC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BC2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BC2#FFFFFF#000000##000000
##CD7BC21.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd7bc2;
/* rgb */ color: rgb(205, 123, 194);
/* oklch */ color: oklch(69.4% 0.136 331.9);
Tailwind
colors: {
  custom: {
    50: '#dea3d4',
    500: '#cd7bc2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bc2;
$custom-light: #dea3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bc2",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 308.049,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6941,
    "c": 0.13614,
    "h": 331.9
  },
  "luminance": 0.3104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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