#CD7ED9#CD7ED9

#CD7ED9 is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.9% C 0.153 H 322.1°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CD7ED9
RGBrgb(205, 126, 217)
HSLhsl(292, 54%, 67%)
HSVhsv(292, 42%, 85%)
CMYKcmyk(5.5%, 41.9%, 0%, 14.9%)
CIE-LABlab(64.09, 44.95, -34.20)
CIE-LCHlch(64.09, 56.48, 322.73°)
OKLaboklab(70.87% 0.1208 -0.0939)
OKLCHoklch(70.87% 0.153 322.1)
XYZxyz(45.1607, 32.9123, 69.6060)
Luminance0.3291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7ED9 #8AD97E
analogous
#A07ED9 #CD7ED9 #D97EB8
triadic
#CD7ED9 #D9CD7E #7ED9CD
tetradic
#CD7ED9 #D9A07E #8AD97E #7EB8D9
square
#CD7ED9 #D9A07E #8AD97E #7EB8D9
split-complementary
#CD7ED9 #B8D97E #7ED9A0
monochromatic
#9B32AA #BB4FCB #CD7ED9 #DFADE7 #F2DDF5

Accessibility & contrast

On white

2.77
#CD7ED9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CD7ED9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7ED9
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7ED9#FFFFFF#000000##000000
##CD7ED91.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7396DC
Deuteranopia (green-blind)
#889ED6
Tritanopia (blue-blind)
#CF89A1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7ed9;
/* rgb */ color: rgb(205, 126, 217);
/* oklch */ color: oklch(70.9% 0.153 322.1);
Tailwind
colors: {
  custom: {
    50: '#dea5e5',
    500: '#cd7ed9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ed9;
$custom-light: #dea5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ed9",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 217
  },
  "hsl": {
    "h": 292.088,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70873,
    "c": 0.15304,
    "h": 322.1
  },
  "luminance": 0.32911
}

Semantic roles & 50–950 ramp

primary
#CD7ED9
secondary
#CFE8CB
accent
#C22438
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CD7ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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