#CD7CD5#CD7CD5

#CD7CD5 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.4% C 0.152 H 323.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CD7CD5
RGBrgb(205, 124, 213)
HSLhsl(295, 51%, 66%)
HSVhsv(295, 42%, 84%)
CMYKcmyk(3.8%, 41.8%, 0%, 16.5%)
CIE-LABlab(63.51, 45.23, -32.87)
CIE-LCHlch(63.51, 55.91, 323.99°)
OKLaboklab(70.38% 0.1229 -0.0901)
OKLCHoklch(70.38% 0.152 323.8)
XYZxyz(44.3935, 32.2004, 66.8147)
Luminance0.3220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CD5 #84D57C
analogous
#A07CD5 #CD7CD5 #D57CB0
triadic
#CD7CD5 #D5CD7C #7CD5CD
tetradic
#CD7CD5 #D5A07C #84D57C #7CB0D5
square
#CD7CD5 #D5A07C #84D57C #7CB0D5
split-complementary
#CD7CD5 #B0D57C #7CD5A0
monochromatic
#9934A2 #BB4EC6 #CD7CD5 #DFAAE4 #F0D9F3

Accessibility & contrast

On white

2.82
#CD7CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CD7CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CD5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CD5#FFFFFF#000000##000000
##CD7CD51.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7294D8
Deuteranopia (green-blind)
#889DD2
Tritanopia (blue-blind)
#D0869F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7cd5;
/* rgb */ color: rgb(205, 124, 213);
/* oklch */ color: oklch(70.4% 0.152 323.8);
Tailwind
colors: {
  custom: {
    50: '#dea4e2',
    500: '#cd7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cd5;
$custom-light: #dea4e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cd5",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 294.607,
    "s": 51.445,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70382,
    "c": 0.15242,
    "h": 323.8
  },
  "luminance": 0.32199
}

Semantic roles & 50–950 ramp

primary
#CD7CD5
secondary
#CAE5C8
accent
#BF2734
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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