#CD7ADF#CD7ADF

#CD7ADF is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.5% C 0.166 H 320.3°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CD7ADF
RGBrgb(205, 122, 223)
HSLhsl(289, 61%, 68%)
HSVhsv(289, 45%, 87%)
CMYKcmyk(8.1%, 45.3%, 0%, 12.5%)
CIE-LABlab(63.53, 48.20, -38.42)
CIE-LCHlch(63.53, 61.64, 321.44°)
OKLaboklab(70.54% 0.1276 -0.106)
OKLCHoklch(70.54% 0.166 320.3)
XYZxyz(45.4540, 32.2276, 73.6239)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7ADF #8CDF7A
analogous
#9A7ADF #CD7ADF #DF7ABE
triadic
#CD7ADF #DFCD7A #7ADFCD
tetradic
#CD7ADF #DF9A7A #8CDF7A #7ABEDF
square
#CD7ADF #DF9A7A #8CDF7A #7ABEDF
split-complementary
#CD7ADF #BEDF7A #7ADF9A
monochromatic
#9B2BB3 #BA49D3 #CD7ADF #E0ABEB #F2DDF7

Accessibility & contrast

On white

2.82
#CD7ADF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CD7ADF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7ADF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7ADF#FFFFFF#000000##000000
##CD7ADF1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E3
Deuteranopia (green-blind)
#829DDC
Tritanopia (blue-blind)
#CE87A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7adf;
/* rgb */ color: rgb(205, 122, 223);
/* oklch */ color: oklch(70.5% 0.166 320.3);
Tailwind
colors: {
  custom: {
    50: '#dea3e9',
    500: '#cd7adf',
    950: '#000000',
  },
}
SCSS
$custom: #cd7adf;
$custom-light: #dea3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7adf",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 223
  },
  "hsl": {
    "h": 289.307,
    "s": 61.212,
    "l": 67.647
  },
  "oklch": {
    "l": 0.7054,
    "c": 0.16589,
    "h": 320.3
  },
  "luminance": 0.32226
}

Semantic roles & 50–950 ramp

primary
#CD7ADF
secondary
#D0EACB
accent
#C91D3B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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