#CD7CDF#CD7CDF

#CD7CDF is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.8% C 0.163 H 320.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CD7CDF
RGBrgb(205, 124, 223)
HSLhsl(289, 61%, 68%)
HSVhsv(289, 44%, 87%)
CMYKcmyk(8.1%, 44.4%, 0%, 12.5%)
CIE-LABlab(63.94, 47.16, -37.79)
CIE-LCHlch(63.94, 60.43, 321.30°)
OKLaboklab(70.84% 0.1248 -0.1042)
OKLCHoklch(70.84% 0.163 320.1)
XYZxyz(45.7021, 32.7238, 73.7066)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CDF #8EDF7C
analogous
#9B7CDF #CD7CDF #DF7CBF
triadic
#CD7CDF #DFCD7C #7CDFCD
tetradic
#CD7CDF #DF9B7C #8EDF7C #7CBFDF
square
#CD7CDF #DF9B7C #8EDF7C #7CBFDF
split-complementary
#CD7CDF #BFDF7C #7CDF9B
monochromatic
#9C2CB5 #BA4BD3 #CD7CDF #E0ADEB #F3DEF7

Accessibility & contrast

On white

2.78
#CD7CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#CD7CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CDF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CDF#FFFFFF#000000##000000
##CD7CDF1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D95E2
Deuteranopia (green-blind)
#849EDC
Tritanopia (blue-blind)
#CE89A3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7cdf;
/* rgb */ color: rgb(205, 124, 223);
/* oklch */ color: oklch(70.8% 0.163 320.1);
Tailwind
colors: {
  custom: {
    50: '#dea4e9',
    500: '#cd7cdf',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cdf;
$custom-light: #dea4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cdf",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 289.091,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70843,
    "c": 0.16257,
    "h": 320.1
  },
  "luminance": 0.32722
}

Semantic roles & 50–950 ramp

primary
#CD7CDF
secondary
#D2EBCC
accent
#C81D3C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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