#CD7BCA#CD7BCA

#CD7BCA is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.7% C 0.143 H 328.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CD7BCA
RGBrgb(205, 123, 202)
HSLhsl(302, 45%, 64%)
HSVhsv(302, 40%, 80%)
CMYKcmyk(0%, 40%, 1.5%, 19.6%)
CIE-LABlab(62.85, 43.71, -27.71)
CIE-LCHlch(62.85, 51.76, 327.63°)
OKLaboklab(69.74% 0.122 -0.0754)
OKLCHoklch(69.74% 0.143 328.3)
XYZxyz(42.9197, 31.4113, 59.6679)
Luminance0.3141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BCA #7BCD7E
analogous
#A77BCD #CD7BCA #CD7BA1
triadic
#CD7BCA #CACD7B #7BCACD
tetradic
#CD7BCA #CDA77B #7BCD7E #7BA1CD
square
#CD7BCA #CDA77B #7BCD7E #7BA1CD
split-complementary
#CD7BCA #A1CD7B #7BCDA7
monochromatic
#953892 #BC4FB8 #CD7BCA #DEA7DC #EFD4EE

Accessibility & contrast

On white

2.88
#CD7BCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CD7BCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BCA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BCA#FFFFFF#000000##000000
##CD7BCA1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7691CD
Deuteranopia (green-blind)
#8B9CC7
Tritanopia (blue-blind)
#D28299
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7bca;
/* rgb */ color: rgb(205, 123, 202);
/* oklch */ color: oklch(69.7% 0.143 328.3);
Tailwind
colors: {
  custom: {
    50: '#dea3da',
    500: '#cd7bca',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bca;
$custom-light: #dea3da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bca",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 302.195,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69744,
    "c": 0.14347,
    "h": 328.3
  },
  "luminance": 0.31409
}

Semantic roles & 50–950 ramp

primary
#CD7BCA
secondary
#C4E0C5
accent
#B8322D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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