#CD4ED7#CD4ED7

#CD4ED7 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.5% C 0.225 H 324.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CD4ED7
RGBrgb(205, 78, 215)
HSLhsl(296, 63%, 57%)
HSVhsv(296, 64%, 84%)
CMYKcmyk(4.7%, 63.7%, 0%, 15.7%)
CIE-LABlab(55.42, 67.38, -46.70)
CIE-LCHlch(55.42, 81.98, 325.28°)
OKLaboklab(64.46% 0.1834 -0.1296)
OKLCHoklch(64.46% 0.225 324.8)
XYZxyz(40.1660, 23.3366, 66.6656)
Luminance0.2333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4ED7 #58D74E
analogous
#884ED7 #CD4ED7 #D74E9D
triadic
#CD4ED7 #D7CD4E #4ED7CD
tetradic
#CD4ED7 #D7884E #58D74E #4E9DD7
square
#CD4ED7 #D7884E #58D74E #4E9DD7
split-complementary
#CD4ED7 #9DD74E #4ED788
monochromatic
#831F8B #B22BBD #CD4ED7 #DB80E2 #E9B2EE

Accessibility & contrast

On white

3.71
#CD4ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CD4ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4ED7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4ED7#FFFFFF#000000##000000
##CD4ED71.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#347BDB
Deuteranopia (green-blind)
#678AD3
Tritanopia (blue-blind)
#D1628C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd4ed7;
/* rgb */ color: rgb(205, 78, 215);
/* oklch */ color: oklch(64.5% 0.225 324.8);
Tailwind
colors: {
  custom: {
    50: '#e088e4',
    500: '#cd4ed7',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ed7;
$custom-light: #e088e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ed7",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 295.62,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64456,
    "c": 0.22458,
    "h": 324.8
  },
  "luminance": 0.23334
}

Semantic roles & 50–950 ramp

primary
#CD4ED7
secondary
#A9DCA5
accent
#E6424E
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CD4ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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