#CD7ECC#CD7ECC

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

Color values

HEX#CD7ECC
RGBrgb(205, 126, 204)
HSLhsl(301, 44%, 65%)
HSVhsv(301, 39%, 80%)
CMYKcmyk(0%, 38.5%, 0.5%, 19.6%)
CIE-LABlab(63.56, 42.50, -27.75)
CIE-LCHlch(63.56, 50.75, 326.86°)
OKLaboklab(70.3% 0.1181 -0.0756)
OKLCHoklch(70.3% 0.14 327.4)
XYZxyz(43.5359, 32.2624, 61.0491)
Luminance0.3226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7ECC #7ECD7F
analogous
#A67ECD #CD7ECC #CD7EA5
triadic
#CD7ECC #CCCD7E #7ECCCD
tetradic
#CD7ECC #CDA67E #7ECD7F #7EA5CD
square
#CD7ECC #CDA67E #7ECD7F #7EA5CD
split-complementary
#CD7ECC #A5CD7E #7ECDA6
monochromatic
#963A95 #BC52BB #CD7ECC #DEAADD #EFD6EF

Accessibility & contrast

On white

2.82
#CD7ECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CD7ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7ECC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7ECC#FFFFFF#000000##000000
##CD7ECC1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CF
Deuteranopia (green-blind)
#8D9EC9
Tritanopia (blue-blind)
#D2859C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7ecc;
/* rgb */ color: rgb(205, 126, 204);
/* oklch */ color: oklch(70.3% 0.140 327.4);
Tailwind
colors: {
  custom: {
    50: '#dda5db',
    500: '#cd7ecc',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ecc;
$custom-light: #dda5db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ecc",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 300.759,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.703,
    "c": 0.14017,
    "h": 327.4
  },
  "luminance": 0.3226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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