#CD7ED0#CD7ED0

#CD7ED0 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.5% C 0.144 H 325.7°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CD7ED0
RGBrgb(205, 126, 208)
HSLhsl(298, 47%, 65%)
HSVhsv(298, 39%, 82%)
CMYKcmyk(1.4%, 39.4%, 0%, 18.4%)
CIE-LABlab(63.72, 43.24, -29.75)
CIE-LCHlch(63.72, 52.48, 325.47°)
OKLaboklab(70.47% 0.119 -0.0812)
OKLCHoklch(70.47% 0.144 325.7)
XYZxyz(44.0219, 32.4568, 63.6082)
Luminance0.3246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7ED0 #81D07E
analogous
#A47ED0 #CD7ED0 #D07EAA
triadic
#CD7ED0 #D0CD7E #7ED0CD
tetradic
#CD7ED0 #D0A47E #81D07E #7EAAD0
square
#CD7ED0 #D0A47E #81D07E #7EAAD0
split-complementary
#CD7ED0 #AAD07E #7ED0A4
monochromatic
#97399B #BC51C0 #CD7ED0 #DEABE0 #F0D8F1

Accessibility & contrast

On white

2.80
#CD7ED0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CD7ED0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7ED0
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7ED0#FFFFFF#000000##000000
##CD7ED01.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D3
Deuteranopia (green-blind)
#8B9ECD
Tritanopia (blue-blind)
#D1869D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7ed0;
/* rgb */ color: rgb(205, 126, 208);
/* oklch */ color: oklch(70.5% 0.144 325.7);
Tailwind
colors: {
  custom: {
    50: '#dea5de',
    500: '#cd7ed0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ed0;
$custom-light: #dea5de;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ed0",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 208
  },
  "hsl": {
    "h": 297.805,
    "s": 46.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70473,
    "c": 0.14405,
    "h": 325.7
  },
  "luminance": 0.32455
}

Semantic roles & 50–950 ramp

primary
#CD7ED0
secondary
#C8E3C7
accent
#BA2C31
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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