#CD7DCC#CD7DCC

#CD7DCC is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.1% C 0.142 H 327.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CD7DCC
RGBrgb(205, 125, 204)
HSLhsl(301, 44%, 65%)
HSVhsv(301, 39%, 80%)
CMYKcmyk(0%, 39%, 0.5%, 19.6%)
CIE-LABlab(63.35, 43.03, -28.07)
CIE-LCHlch(63.35, 51.37, 326.88°)
OKLaboklab(70.14% 0.1195 -0.0765)
OKLCHoklch(70.14% 0.142 327.4)
XYZxyz(43.4087, 32.0080, 61.0067)
Luminance0.3201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DCC #7DCD7E
analogous
#A67DCD #CD7DCC #CD7DA4
triadic
#CD7DCC #CCCD7D #7DCCCD
tetradic
#CD7DCC #CDA67D #7DCD7E #7DA4CD
square
#CD7DCC #CDA67D #7DCD7E #7DA4CD
split-complementary
#CD7DCC #A4CD7D #7DCDA6
monochromatic
#963A95 #BC51BB #CD7DCC #DEA9DD #EFD5EF

Accessibility & contrast

On white

2.84
#CD7DCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CD7DCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DCC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DCC#FFFFFF#000000##000000
##CD7DCC1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793CF
Deuteranopia (green-blind)
#8C9DC9
Tritanopia (blue-blind)
#D2849B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd7dcc;
/* rgb */ color: rgb(205, 125, 204);
/* oklch */ color: oklch(70.1% 0.142 327.4);
Tailwind
colors: {
  custom: {
    50: '#dea4db',
    500: '#cd7dcc',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dcc;
$custom-light: #dea4db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dcc",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 300.75,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70143,
    "c": 0.14191,
    "h": 327.4
  },
  "luminance": 0.32006
}

Semantic roles & 50–950 ramp

primary
#CD7DCC
secondary
#C5E1C6
accent
#B8302E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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