#CD7DF5#CD7DF5

#CD7DF5 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.1% C 0.184 H 313.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CD7DF5
RGBrgb(205, 125, 245)
HSLhsl(280, 86%, 73%)
HSVhsv(280, 49%, 96%)
CMYKcmyk(16.3%, 49%, 0%, 3.9%)
CIE-LABlab(65.15, 51.09, -48.05)
CIE-LCHlch(65.15, 70.14, 316.76°)
OKLaboklab(72.08% 0.1266 -0.1338)
OKLCHoklch(72.08% 0.184 313.4)
XYZxyz(48.9891, 34.2401, 90.3968)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DF5 #A5F57D
analogous
#917DF5 #CD7DF5 #F57DE1
triadic
#CD7DF5 #F5CD7D #7DF5CD
tetradic
#CD7DF5 #F5917D #A5F57D #7DE1F5
square
#CD7DF5 #F5917D #A5F57D #7DE1F5
split-complementary
#CD7DF5 #E1F57D #7DF591
monochromatic
#9F12E6 #B744F1 #CD7DF5 #E3B6F9 #F4E3FD

Accessibility & contrast

On white

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

On black

7.85
#CD7DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DF5
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DF5#FFFFFF#000000##000000
##CD7DF51.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AF9
Deuteranopia (green-blind)
#79A0F2
Tritanopia (blue-blind)
#CA90AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7df5;
/* rgb */ color: rgb(205, 125, 245);
/* oklch */ color: oklch(72.1% 0.184 313.4);
Tailwind
colors: {
  custom: {
    50: '#dea5f9',
    500: '#cd7df5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7df5;
$custom-light: #dea5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7df5",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 280,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72079,
    "c": 0.18421,
    "h": 313.4
  },
  "luminance": 0.34239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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