#CD7DCD#CD7DCD

#CD7DCD is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.2% C 0.143 H 327.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CD7DCD
RGBrgb(205, 125, 205)
HSLhsl(300, 44%, 65%)
HSVhsv(300, 39%, 80%)
CMYKcmyk(0%, 39%, 0%, 19.6%)
CIE-LABlab(63.39, 43.21, -28.57)
CIE-LCHlch(63.39, 51.80, 326.53°)
OKLaboklab(70.19% 0.1198 -0.0779)
OKLCHoklch(70.19% 0.143 327)
XYZxyz(43.5290, 32.0561, 61.6403)
Luminance0.3205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DCD #7DCD7D
analogous
#A57DCD #CD7DCD #CD7DA5
triadic
#CD7DCD #CDCD7D #7DCDCD
tetradic
#CD7DCD #CDA57D #7DCD7D #7DA5CD
square
#CD7DCD #CDA57D #7DCD7D #7DA5CD
split-complementary
#CD7DCD #A5CD7D #7DCDA5
monochromatic
#963A96 #BC51BC #CD7DCD #DEA9DE #EFD5EF

Accessibility & contrast

On white

2.83
#CD7DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CD7DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DCD
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DCD#FFFFFF#000000##000000
##CD7DCD1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793D0
Deuteranopia (green-blind)
#8C9DCA
Tritanopia (blue-blind)
#D2859C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7dcd;
/* rgb */ color: rgb(205, 125, 205);
/* oklch */ color: oklch(70.2% 0.143 327.0);
Tailwind
colors: {
  custom: {
    50: '#dea4dc',
    500: '#cd7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dcd;
$custom-light: #dea4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dcd",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70186,
    "c": 0.14286,
    "h": 327
  },
  "luminance": 0.32054
}

Semantic roles & 50–950 ramp

primary
#CD7DCD
secondary
#C5E1C5
accent
#B82E2E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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