#CD7ECD#CD7ECD

#CD7ECD is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.3% C 0.141 H 326.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CD7ECD
RGBrgb(205, 126, 205)
HSLhsl(300, 44%, 65%)
HSVhsv(300, 39%, 80%)
CMYKcmyk(0%, 38.5%, 0%, 19.6%)
CIE-LABlab(63.60, 42.68, -28.25)
CIE-LCHlch(63.60, 51.18, 326.50°)
OKLaboklab(70.34% 0.1183 -0.077)
OKLCHoklch(70.34% 0.141 326.9)
XYZxyz(43.6563, 32.3105, 61.6828)
Luminance0.3231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7ECD #7ECD7E
analogous
#A67ECD #CD7ECD #CD7EA6
triadic
#CD7ECD #CDCD7E #7ECDCD
tetradic
#CD7ECD #CDA67E #7ECD7E #7EA6CD
square
#CD7ECD #CDA67E #7ECD7E #7EA6CD
split-complementary
#CD7ECD #A6CD7E #7ECDA6
monochromatic
#963A96 #BC52BC #CD7ECD #DEAADE #EFD6EF

Accessibility & contrast

On white

2.81
#CD7ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CD7ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7ECD
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7ECD#FFFFFF#000000##000000
##CD7ECD1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D0
Deuteranopia (green-blind)
#8D9ECA
Tritanopia (blue-blind)
#D2859C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7ecd;
/* rgb */ color: rgb(205, 126, 205);
/* oklch */ color: oklch(70.3% 0.141 326.9);
Tailwind
colors: {
  custom: {
    50: '#dea5dc',
    500: '#cd7ecd',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ecd;
$custom-light: #dea5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ecd",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70343,
    "c": 0.14113,
    "h": 326.9
  },
  "luminance": 0.32309
}

Semantic roles & 50–950 ramp

primary
#CD7ECD
secondary
#C6E1C6
accent
#B72E2E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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