#CD7ED5#CD7ED5

#CD7ED5 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.7% C 0.149 H 323.7°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CD7ED5
RGBrgb(205, 126, 213)
HSLhsl(294, 51%, 66%)
HSVhsv(294, 41%, 84%)
CMYKcmyk(3.8%, 40.8%, 0%, 16.5%)
CIE-LABlab(63.92, 44.18, -32.23)
CIE-LCHlch(63.92, 54.69, 323.89°)
OKLaboklab(70.69% 0.12 -0.0883)
OKLCHoklch(70.69% 0.149 323.7)
XYZxyz(44.6467, 32.7067, 66.8991)
Luminance0.3271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7ED5 #86D57E
analogous
#A27ED5 #CD7ED5 #D57EB2
triadic
#CD7ED5 #D5CD7E #7ED5CD
tetradic
#CD7ED5 #D5A27E #86D57E #7EB2D5
square
#CD7ED5 #D5A27E #86D57E #7EB2D5
split-complementary
#CD7ED5 #B2D57E #7ED5A2
monochromatic
#9935A3 #BB50C6 #CD7ED5 #DFACE4 #F1DAF3

Accessibility & contrast

On white

2.78
#CD7ED5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#CD7ED5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7ED5
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7ED5#FFFFFF#000000##000000
##CD7ED51.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7495D8
Deuteranopia (green-blind)
#899ED2
Tritanopia (blue-blind)
#D088A0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7ed5;
/* rgb */ color: rgb(205, 126, 213);
/* oklch */ color: oklch(70.7% 0.149 323.7);
Tailwind
colors: {
  custom: {
    50: '#dea5e2',
    500: '#cd7ed5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ed5;
$custom-light: #dea5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ed5",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 213
  },
  "hsl": {
    "h": 294.483,
    "s": 50.877,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70693,
    "c": 0.149,
    "h": 323.7
  },
  "luminance": 0.32705
}

Semantic roles & 50–950 ramp

primary
#CD7ED5
secondary
#CCE6C9
accent
#BE2735
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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