#CD7ECA#CD7ECA

#CD7ECA is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.2% C 0.138 H 328.3°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CD7ECA
RGBrgb(205, 126, 202)
HSLhsl(302, 44%, 65%)
HSVhsv(302, 39%, 80%)
CMYKcmyk(0%, 38.5%, 1.5%, 19.6%)
CIE-LABlab(63.48, 42.13, -26.74)
CIE-LCHlch(63.48, 49.90, 327.59°)
OKLaboklab(70.22% 0.1176 -0.0727)
OKLCHoklch(70.22% 0.138 328.3)
XYZxyz(43.2976, 32.1671, 59.7939)
Luminance0.3216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7ECA #7ECD81
analogous
#A87ECD #CD7ECA #CD7EA3
triadic
#CD7ECA #CACD7E #7ECACD
tetradic
#CD7ECA #CDA87E #7ECD81 #7EA3CD
square
#CD7ECA #CDA87E #7ECD81 #7EA3CD
split-complementary
#CD7ECA #A3CD7E #7ECDA8
monochromatic
#963A93 #BC52B8 #CD7ECA #DEAADC #EFD6EE

Accessibility & contrast

On white

2.83
#CD7ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CD7ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7ECA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7ECA#FFFFFF#000000##000000
##CD7ECA1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#8E9DC7
Tritanopia (blue-blind)
#D2859B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7eca;
/* rgb */ color: rgb(205, 126, 202);
/* oklch */ color: oklch(70.2% 0.138 328.3);
Tailwind
colors: {
  custom: {
    50: '#dda5da',
    500: '#cd7eca',
    950: '#000000',
  },
}
SCSS
$custom: #cd7eca;
$custom-light: #dda5da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7eca",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 302.278,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70216,
    "c": 0.13826,
    "h": 328.3
  },
  "luminance": 0.32165
}

Semantic roles & 50–950 ramp

primary
#CD7ECA
secondary
#C6E1C7
accent
#B7332E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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