#CD7CDD#CD7CDD

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

Color values

HEX#CD7CDD
RGBrgb(205, 124, 221)
HSLhsl(290, 59%, 68%)
HSVhsv(290, 44%, 87%)
CMYKcmyk(7.2%, 43.9%, 0%, 13.3%)
CIE-LABlab(63.85, 46.77, -36.81)
CIE-LCHlch(63.85, 59.52, 321.80°)
OKLaboklab(70.75% 0.1244 -0.1014)
OKLCHoklch(70.75% 0.161 320.8)
XYZxyz(45.4341, 32.6166, 72.2949)
Luminance0.3261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CDD #8CDD7C
analogous
#9C7CDD #CD7CDD #DD7CBD
triadic
#CD7CDD #DDCD7C #7CDDCD
tetradic
#CD7CDD #DD9C7C #8CDD7C #7CBDDD
square
#CD7CDD #DD9C7C #8CDD7C #7CBDDD
split-complementary
#CD7CDD #BDDD7C #7CDD9C
monochromatic
#9B2EB1 #BA4BD0 #CD7CDD #E0ADEA #F2DDF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7CDD#FFFFFF#000000##000000
##CD7CDD1.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)
#6E95E0
Deuteranopia (green-blind)
#859EDA
Tritanopia (blue-blind)
#CF88A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7cdd;
/* rgb */ color: rgb(205, 124, 221);
/* oklch */ color: oklch(70.7% 0.161 320.8);
Tailwind
colors: {
  custom: {
    50: '#dea4e8',
    500: '#cd7cdd',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cdd;
$custom-light: #dea4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cdd",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 290.103,
    "s": 58.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70749,
    "c": 0.16051,
    "h": 320.8
  },
  "luminance": 0.32615
}

Semantic roles & 50–950 ramp

primary
#CD7CDD
secondary
#D0E9CB
accent
#C61F3B
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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