#CD7ED2#CD7ED2

#CD7ED2 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.6% C 0.146 H 324.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CD7ED2
RGBrgb(205, 126, 210)
HSLhsl(296, 48%, 66%)
HSVhsv(296, 40%, 82%)
CMYKcmyk(2.4%, 40%, 0%, 17.6%)
CIE-LABlab(63.80, 43.61, -30.74)
CIE-LCHlch(63.80, 53.36, 324.82°)
OKLaboklab(70.56% 0.1194 -0.084)
OKLCHoklch(70.56% 0.146 324.9)
XYZxyz(44.2695, 32.5558, 64.9123)
Luminance0.3255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7ED2 #83D27E
analogous
#A37ED2 #CD7ED2 #D27EAD
triadic
#CD7ED2 #D2CD7E #7ED2CD
tetradic
#CD7ED2 #D2A37E #83D27E #7EADD2
square
#CD7ED2 #D2A37E #83D27E #7EADD2
split-complementary
#CD7ED2 #ADD27E #7ED2A3
monochromatic
#98379E #BB51C2 #CD7ED2 #DFABE2 #F0D9F2

Accessibility & contrast

On white

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

On black

7.51
#CD7ED2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7ED2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7ED2#FFFFFF#000000##000000
##CD7ED21.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7694D5
Deuteranopia (green-blind)
#8B9ECF
Tritanopia (blue-blind)
#D1879E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7ed2;
/* rgb */ color: rgb(205, 126, 210);
/* oklch */ color: oklch(70.6% 0.146 324.9);
Tailwind
colors: {
  custom: {
    50: '#dea5e0',
    500: '#cd7ed2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ed2;
$custom-light: #dea5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ed2",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 210
  },
  "hsl": {
    "h": 296.429,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.7056,
    "c": 0.14602,
    "h": 324.9
  },
  "luminance": 0.32554
}

Semantic roles & 50–950 ramp

primary
#CD7ED2
secondary
#CAE4C8
accent
#BC2A33
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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