#CD7CD7#CD7CD7

#CD7CD7 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.5% C 0.154 H 323.0°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CD7CD7
RGBrgb(205, 124, 215)
HSLhsl(293, 53%, 66%)
HSVhsv(293, 42%, 84%)
CMYKcmyk(4.7%, 42.3%, 0%, 15.7%)
CIE-LABlab(63.59, 45.61, -33.86)
CIE-LCHlch(63.59, 56.81, 323.41°)
OKLaboklab(70.47% 0.1233 -0.0929)
OKLCHoklch(70.47% 0.154 323)
XYZxyz(44.6489, 32.3025, 68.1599)
Luminance0.3230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CD7 #86D77C
analogous
#A07CD7 #CD7CD7 #D77CB4
triadic
#CD7CD7 #D7CD7C #7CD7CD
tetradic
#CD7CD7 #D7A07C #86D77C #7CB4D7
square
#CD7CD7 #D7A07C #86D77C #7CB4D7
split-complementary
#CD7CD7 #B4D77C #7CD7A0
monochromatic
#9933A6 #BB4DC9 #CD7CD7 #DFABE5 #F1DAF4

Accessibility & contrast

On white

2.81
#CD7CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CD7CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CD7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CD7#FFFFFF#000000##000000
##CD7CD71.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7194DA
Deuteranopia (green-blind)
#879DD4
Tritanopia (blue-blind)
#D0869F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7cd7;
/* rgb */ color: rgb(205, 124, 215);
/* oklch */ color: oklch(70.5% 0.154 323.0);
Tailwind
colors: {
  custom: {
    50: '#dea4e3',
    500: '#cd7cd7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cd7;
$custom-light: #dea4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cd7",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 293.407,
    "s": 53.216,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70473,
    "c": 0.15443,
    "h": 323
  },
  "luminance": 0.32301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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