#CD7DF3#CD7DF3

#CD7DF3 is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.0% C 0.182 H 313.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CD7DF3
RGBrgb(205, 125, 243)
HSLhsl(281, 83%, 72%)
HSVhsv(281, 49%, 95%)
CMYKcmyk(15.6%, 48.6%, 0%, 4.7%)
CIE-LABlab(65.06, 50.68, -47.10)
CIE-LCHlch(65.06, 69.19, 317.09°)
OKLaboklab(71.98% 0.1263 -0.1311)
OKLCHoklch(71.98% 0.182 313.9)
XYZxyz(48.6855, 34.1187, 88.7975)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DF3 #A3F37D
analogous
#927DF3 #CD7DF3 #F37DDE
triadic
#CD7DF3 #F3CD7D #7DF3CD
tetradic
#CD7DF3 #F3927D #A3F37D #7DDEF3
square
#CD7DF3 #F3927D #A3F37D #7DDEF3
split-complementary
#CD7DF3 #DEF37D #7DF392
monochromatic
#9F15E1 #B745EE #CD7DF3 #E3B5F8 #F4E3FC

Accessibility & contrast

On white

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

On black

7.82
#CD7DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DF3
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DF3#FFFFFF#000000##000000
##CD7DF31.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F7
Deuteranopia (green-blind)
#7BA0F0
Tritanopia (blue-blind)
#CA8FAD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd7df3;
/* rgb */ color: rgb(205, 125, 243);
/* oklch */ color: oklch(72.0% 0.182 313.9);
Tailwind
colors: {
  custom: {
    50: '#dea5f7',
    500: '#cd7df3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7df3;
$custom-light: #dea5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7df3",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 280.678,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71976,
    "c": 0.18206,
    "h": 313.9
  },
  "luminance": 0.34117
}

Semantic roles & 50–950 ramp

primary
#CD7DF3
secondary
#E0F4D7
accent
#E0064C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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