#CD7ED4#CD7ED4

#CD7ED4 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.6% C 0.148 H 324.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CD7ED4
RGBrgb(205, 126, 212)
HSLhsl(295, 50%, 66%)
HSVhsv(295, 41%, 83%)
CMYKcmyk(3.3%, 40.6%, 0%, 16.9%)
CIE-LABlab(63.88, 43.99, -31.73)
CIE-LCHlch(63.88, 54.24, 324.19°)
OKLaboklab(70.65% 0.1198 -0.0869)
OKLCHoklch(70.65% 0.148 324.1)
XYZxyz(44.5202, 32.6561, 66.2327)
Luminance0.3265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7ED4 #85D47E
analogous
#A27ED4 #CD7ED4 #D47EB0
triadic
#CD7ED4 #D4CD7E #7ED4CD
tetradic
#CD7ED4 #D4A27E #85D47E #7EB0D4
square
#CD7ED4 #D4A27E #85D47E #7EB0D4
split-complementary
#CD7ED4 #B0D47E #7ED4A2
monochromatic
#9936A2 #BB50C5 #CD7ED4 #DFACE3 #F1DAF3

Accessibility & contrast

On white

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

On black

7.53
#CD7ED4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7ED4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7ED4#FFFFFF#000000##000000
##CD7ED41.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd7ed4;
/* rgb */ color: rgb(205, 126, 212);
/* oklch */ color: oklch(70.6% 0.148 324.1);
Tailwind
colors: {
  custom: {
    50: '#dea5e1',
    500: '#cd7ed4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ed4;
$custom-light: #dea5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ed4",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 295.116,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70648,
    "c": 0.148,
    "h": 324.1
  },
  "luminance": 0.32654
}

Semantic roles & 50–950 ramp

primary
#CD7ED4
secondary
#CBE5C9
accent
#BD2834
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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