#CD7FCD#CD7FCD

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

Color values

HEX#CD7FCD
RGBrgb(205, 127, 205)
HSLhsl(300, 44%, 65%)
HSVhsv(300, 38%, 80%)
CMYKcmyk(0%, 38%, 0%, 19.6%)
CIE-LABlab(63.81, 42.15, -27.92)
CIE-LCHlch(63.81, 50.56, 326.48°)
OKLaboklab(70.5% 0.1168 -0.0761)
OKLCHoklch(70.5% 0.139 326.9)
XYZxyz(43.7848, 32.5676, 61.7256)
Luminance0.3257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FCD #7FCD7F
analogous
#A67FCD #CD7FCD #CD7FA6
triadic
#CD7FCD #CDCD7F #7FCDCD
tetradic
#CD7FCD #CDA67F #7FCD7F #7FA6CD
square
#CD7FCD #CDA67F #7FCD7F #7FA6CD
split-complementary
#CD7FCD #A6CD7F #7FCDA6
monochromatic
#973B97 #BC53BC #CD7FCD #DEABDE #EFD7EF

Accessibility & contrast

On white

2.80
#CD7FCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CD7FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FCD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FCD#FFFFFF#000000##000000
##CD7FCD1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#8D9ECA
Tritanopia (blue-blind)
#D2869D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7fcd;
/* rgb */ color: rgb(205, 127, 205);
/* oklch */ color: oklch(70.5% 0.139 326.9);
Tailwind
colors: {
  custom: {
    50: '#dda6dc',
    500: '#cd7fcd',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fcd;
$custom-light: #dda6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fcd",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70501,
    "c": 0.1394,
    "h": 326.9
  },
  "luminance": 0.32566
}

Semantic roles & 50–950 ramp

primary
#CD7FCD
secondary
#C7E1C7
accent
#B72F2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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