#CD7EC5#CD7EC5

#CD7EC5 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.0% C 0.134 H 330.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CD7EC5
RGBrgb(205, 126, 197)
HSLhsl(306, 44%, 65%)
HSVhsv(306, 39%, 80%)
CMYKcmyk(0%, 38.5%, 3.9%, 19.6%)
CIE-LABlab(63.29, 41.23, -24.23)
CIE-LCHlch(63.29, 47.82, 329.56°)
OKLaboklab(70.01% 0.1164 -0.0656)
OKLCHoklch(70.01% 0.134 330.6)
XYZxyz(42.7152, 31.9341, 56.7264)
Luminance0.3193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EC5 #7ECD86
analogous
#AE7ECD #CD7EC5 #CD7E9E
triadic
#CD7EC5 #C5CD7E #7EC5CD
tetradic
#CD7EC5 #CDAE7E #7ECD86 #7E9ECD
square
#CD7EC5 #CDAE7E #7ECD86 #7E9ECD
split-complementary
#CD7EC5 #9ECD7E #7ECDAE
monochromatic
#963A8D #BC52B1 #CD7EC5 #DEAAD9 #EFD6ED

Accessibility & contrast

On white

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

On black

7.39
#CD7EC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EC5
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EC5#FFFFFF#000000##000000
##CD7EC51.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B92C8
Deuteranopia (green-blind)
#8F9DC3
Tritanopia (blue-blind)
#D38399
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7ec5;
/* rgb */ color: rgb(205, 126, 197);
/* oklch */ color: oklch(70.0% 0.134 330.6);
Tailwind
colors: {
  custom: {
    50: '#dda5d6',
    500: '#cd7ec5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ec5;
$custom-light: #dda5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ec5",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 306.076,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70008,
    "c": 0.1336,
    "h": 330.6
  },
  "luminance": 0.31932
}

Semantic roles & 50–950 ramp

primary
#CD7EC5
secondary
#C6E1C9
accent
#B73C2E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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