#CD7CD1#CD7CD1

#CD7CD1 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.2% C 0.148 H 325.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CD7CD1
RGBrgb(205, 124, 209)
HSLhsl(297, 48%, 65%)
HSVhsv(297, 41%, 82%)
CMYKcmyk(1.9%, 40.7%, 0%, 18%)
CIE-LABlab(63.34, 44.48, -30.89)
CIE-LCHlch(63.34, 54.15, 325.22°)
OKLaboklab(70.2% 0.1221 -0.0845)
OKLCHoklch(70.2% 0.148 325.3)
XYZxyz(43.8921, 31.9998, 64.1738)
Luminance0.3200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CD1 #80D17C
analogous
#A27CD1 #CD7CD1 #D17CAB
triadic
#CD7CD1 #D1CD7C #7CD1CD
tetradic
#CD7CD1 #D1A27C #80D17C #7CABD1
square
#CD7CD1 #D1A27C #80D17C #7CABD1
split-complementary
#CD7CD1 #ABD17C #7CD1A2
monochromatic
#97379C #BC4FC1 #CD7CD1 #DEA9E1 #F0D7F1

Accessibility & contrast

On white

2.84
#CD7CD1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CD7CD1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CD1
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CD1#FFFFFF#000000##000000
##CD7CD11.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7493D4
Deuteranopia (green-blind)
#8A9DCE
Tritanopia (blue-blind)
#D1859D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7cd1;
/* rgb */ color: rgb(205, 124, 209);
/* oklch */ color: oklch(70.2% 0.148 325.3);
Tailwind
colors: {
  custom: {
    50: '#dea4df',
    500: '#cd7cd1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cd1;
$custom-light: #dea4df;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cd1",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 297.176,
    "s": 48.023,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70204,
    "c": 0.14847,
    "h": 325.3
  },
  "luminance": 0.31998
}

Semantic roles & 50–950 ramp

primary
#CD7CD1
secondary
#C7E3C6
accent
#BB2A31
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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