#CD7ED3#CD7ED3

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

Color values

HEX#CD7ED3
RGBrgb(205, 126, 211)
HSLhsl(296, 49%, 66%)
HSVhsv(296, 40%, 83%)
CMYKcmyk(2.8%, 40.3%, 0%, 17.3%)
CIE-LABlab(63.84, 43.80, -31.24)
CIE-LCHlch(63.84, 53.80, 324.51°)
OKLaboklab(70.6% 0.1196 -0.0855)
OKLCHoklch(70.6% 0.147 324.5)
XYZxyz(44.3944, 32.6058, 65.5705)
Luminance0.3260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7ED3 #84D37E
analogous
#A27ED3 #CD7ED3 #D37EAE
triadic
#CD7ED3 #D3CD7E #7ED3CD
tetradic
#CD7ED3 #D3A27E #84D37E #7EAED3
square
#CD7ED3 #D3A27E #84D37E #7EAED3
split-complementary
#CD7ED3 #AED37E #7ED3A2
monochromatic
#9937A0 #BB50C3 #CD7ED3 #DFACE3 #F0D9F2

Accessibility & contrast

On white

2.79
#CD7ED3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#CD7ED3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7ED3
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7ED3#FFFFFF#000000##000000
##CD7ED31.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7595D6
Deuteranopia (green-blind)
#8A9ED0
Tritanopia (blue-blind)
#D0879F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7ed3;
/* rgb */ color: rgb(205, 126, 211);
/* oklch */ color: oklch(70.6% 0.147 324.5);
Tailwind
colors: {
  custom: {
    50: '#dea5e0',
    500: '#cd7ed3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ed3;
$custom-light: #dea5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ed3",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 211
  },
  "hsl": {
    "h": 295.765,
    "s": 49.133,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70604,
    "c": 0.14701,
    "h": 324.5
  },
  "luminance": 0.32604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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