#CD7ACF#CD7ACF

#CD7ACF is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.8% C 0.150 H 326.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CD7ACF
RGBrgb(205, 122, 207)
HSLhsl(299, 47%, 65%)
HSVhsv(299, 41%, 81%)
CMYKcmyk(1%, 41.1%, 0%, 18.8%)
CIE-LABlab(62.85, 45.15, -30.53)
CIE-LCHlch(62.85, 54.51, 325.94°)
OKLaboklab(69.81% 0.1246 -0.0834)
OKLCHoklch(69.81% 0.15 326.2)
XYZxyz(43.3979, 31.4052, 62.7952)
Luminance0.3140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7ACF #7CCF7A
analogous
#A37ACF #CD7ACF #CF7AA7
triadic
#CD7ACF #CFCD7A #7ACFCD
tetradic
#CD7ACF #CFA37A #7CCF7A #7AA7CF
square
#CD7ACF #CFA37A #7CCF7A #7AA7CF
split-complementary
#CD7ACF #A7CF7A #7ACFA3
monochromatic
#963798 #BC4DBF #CD7ACF #DEA7DF #EFD4EF

Accessibility & contrast

On white

2.88
#CD7ACF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CD7ACF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7ACF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7ACF#FFFFFF#000000##000000
##CD7ACF1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D2
Deuteranopia (green-blind)
#899CCC
Tritanopia (blue-blind)
#D1839B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7acf;
/* rgb */ color: rgb(205, 122, 207);
/* oklch */ color: oklch(69.8% 0.150 326.2);
Tailwind
colors: {
  custom: {
    50: '#dea2de',
    500: '#cd7acf',
    950: '#000000',
  },
}
SCSS
$custom: #cd7acf;
$custom-light: #dea2de;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7acf",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 207
  },
  "hsl": {
    "h": 298.588,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69807,
    "c": 0.14996,
    "h": 326.2
  },
  "luminance": 0.31403
}

Semantic roles & 50–950 ramp

primary
#CD7ACF
secondary
#C4E1C4
accent
#BA2B2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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