#CD7FD7#CD7FD7

#CD7FD7 is a light, vivid purple. Relative luminance 0.331; OKLCH L 70.9% C 0.149 H 322.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CD7FD7
RGBrgb(205, 127, 215)
HSLhsl(293, 52%, 67%)
HSVhsv(293, 41%, 84%)
CMYKcmyk(4.7%, 40.9%, 0%, 15.7%)
CIE-LABlab(64.21, 44.04, -32.89)
CIE-LCHlch(64.21, 54.96, 323.24°)
OKLaboklab(70.94% 0.119 -0.0902)
OKLCHoklch(70.94% 0.149 322.8)
XYZxyz(45.0306, 33.0659, 68.2871)
Luminance0.3306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FD7 #89D77F
analogous
#A17FD7 #CD7FD7 #D77FB5
triadic
#CD7FD7 #D7CD7F #7FD7CD
tetradic
#CD7FD7 #D7A17F #89D77F #7FB5D7
square
#CD7FD7 #D7A17F #89D77F #7FB5D7
split-complementary
#CD7FD7 #B5D77F #7FD7A1
monochromatic
#9A34A7 #BB50C8 #CD7FD7 #DFAEE6 #F1DCF4

Accessibility & contrast

On white

2.76
#CD7FD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CD7FD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FD7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FD7#FFFFFF#000000##000000
##CD7FD71.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7596DA
Deuteranopia (green-blind)
#899FD4
Tritanopia (blue-blind)
#D089A1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7fd7;
/* rgb */ color: rgb(205, 127, 215);
/* oklch */ color: oklch(70.9% 0.149 322.8);
Tailwind
colors: {
  custom: {
    50: '#dea6e3',
    500: '#cd7fd7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fd7;
$custom-light: #dea6e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fd7",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 293.182,
    "s": 52.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70938,
    "c": 0.14931,
    "h": 322.8
  },
  "luminance": 0.33064
}

Semantic roles & 50–950 ramp

primary
#CD7FD7
secondary
#CEE7CB
accent
#C02637
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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