#CD7FCE#CD7FCE

#CD7FCE is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.5% C 0.140 H 326.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#CD7FCE
RGBrgb(205, 127, 206)
HSLhsl(299, 45%, 65%)
HSVhsv(299, 38%, 81%)
CMYKcmyk(0.5%, 38.3%, 0%, 19.2%)
CIE-LABlab(63.85, 42.34, -28.42)
CIE-LCHlch(63.85, 50.99, 326.12°)
OKLaboklab(70.54% 0.117 -0.0775)
OKLCHoklch(70.54% 0.14 326.5)
XYZxyz(43.9059, 32.6160, 62.3633)
Luminance0.3261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FCE #80CE7F
analogous
#A67FCE #CD7FCE #CE7FA7
triadic
#CD7FCE #CECD7F #7FCECD
tetradic
#CD7FCE #CEA67F #80CE7F #7FA7CE
square
#CD7FCE #CEA67F #80CE7F #7FA7CE
split-complementary
#CD7FCE #A7CE7F #7FCEA6
monochromatic
#973A98 #BC53BD #CD7FCE #DEABDF #F0D8F0

Accessibility & contrast

On white

2.79
#CD7FCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#CD7FCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FCE
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FCE#FFFFFF#000000##000000
##CD7FCE1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D1
Deuteranopia (green-blind)
#8D9ECB
Tritanopia (blue-blind)
#D1879D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7fce;
/* rgb */ color: rgb(205, 127, 206);
/* oklch */ color: oklch(70.5% 0.140 326.5);
Tailwind
colors: {
  custom: {
    50: '#dda6dd',
    500: '#cd7fce',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fce;
$custom-light: #dda6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fce",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 299.241,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70544,
    "c": 0.14036,
    "h": 326.5
  },
  "luminance": 0.32614
}

Semantic roles & 50–950 ramp

primary
#CD7FCE
secondary
#C7E2C7
accent
#B82E2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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