#CD7DF4#CD7DF4

#CD7DF4 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.0% C 0.183 H 313.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CD7DF4
RGBrgb(205, 125, 244)
HSLhsl(280, 84%, 72%)
HSVhsv(280, 49%, 96%)
CMYKcmyk(16%, 48.8%, 0%, 4.3%)
CIE-LABlab(65.10, 50.88, -47.58)
CIE-LCHlch(65.10, 69.66, 316.92°)
OKLaboklab(72.03% 0.1264 -0.1325)
OKLCHoklch(72.03% 0.183 313.7)
XYZxyz(48.8369, 34.1792, 89.5950)
Luminance0.3418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DF4 #A4F47D
analogous
#927DF4 #CD7DF4 #F47DE0
triadic
#CD7DF4 #F4CD7D #7DF4CD
tetradic
#CD7DF4 #F4927D #A4F47D #7DE0F4
square
#CD7DF4 #F4927D #A4F47D #7DE0F4
split-complementary
#CD7DF4 #E0F47D #7DF492
monochromatic
#9F13E3 #B745EF #CD7DF4 #E3B5F9 #F4E3FD

Accessibility & contrast

On white

2.68
#CD7DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CD7DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DF4
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DF4#FFFFFF#000000##000000
##CD7DF41.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF8
Deuteranopia (green-blind)
#7AA0F1
Tritanopia (blue-blind)
#CA8FAD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7df4;
/* rgb */ color: rgb(205, 125, 244);
/* oklch */ color: oklch(72.0% 0.183 313.7);
Tailwind
colors: {
  custom: {
    50: '#dea5f8',
    500: '#cd7df4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7df4;
$custom-light: #dea5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7df4",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 280.336,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72028,
    "c": 0.18313,
    "h": 313.7
  },
  "luminance": 0.34178
}

Semantic roles & 50–950 ramp

primary
#CD7DF4
secondary
#E0F5D6
accent
#E1054D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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