#CD7FD5#CD7FD5

#CD7FD5 is a light, vivid purple. Relative luminance 0.330; OKLCH L 70.8% C 0.147 H 323.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CD7FD5
RGBrgb(205, 127, 213)
HSLhsl(294, 51%, 67%)
HSVhsv(294, 40%, 84%)
CMYKcmyk(3.8%, 40.4%, 0%, 16.5%)
CIE-LABlab(64.13, 43.65, -31.91)
CIE-LCHlch(64.13, 54.07, 323.84°)
OKLaboklab(70.85% 0.1186 -0.0874)
OKLCHoklch(70.85% 0.147 323.6)
XYZxyz(44.7752, 32.9637, 66.9420)
Luminance0.3296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FD5 #87D57F
analogous
#A27FD5 #CD7FD5 #D57FB2
triadic
#CD7FD5 #D5CD7F #7FD5CD
tetradic
#CD7FD5 #D5A27F #87D57F #7FB2D5
square
#CD7FD5 #D5A27F #87D57F #7FB2D5
split-complementary
#CD7FD5 #B2D57F #7FD5A2
monochromatic
#9A36A4 #BB51C6 #CD7FD5 #DFADE4 #F1DBF3

Accessibility & contrast

On white

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

On black

7.59
#CD7FD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FD5
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FD5#FFFFFF#000000##000000
##CD7FD51.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7696D8
Deuteranopia (green-blind)
#8A9FD2
Tritanopia (blue-blind)
#D088A0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7fd5;
/* rgb */ color: rgb(205, 127, 213);
/* oklch */ color: oklch(70.8% 0.147 323.6);
Tailwind
colors: {
  custom: {
    50: '#dea6e2',
    500: '#cd7fd5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fd5;
$custom-light: #dea6e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fd5",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 213
  },
  "hsl": {
    "h": 294.419,
    "s": 50.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70849,
    "c": 0.14729,
    "h": 323.6
  },
  "luminance": 0.32962
}

Semantic roles & 50–950 ramp

primary
#CD7FD5
secondary
#CDE6CA
accent
#BE2836
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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