#CD7FAA#CD7FAA

#CD7FAA is a light, moderate pink. Relative luminance 0.311; OKLCH L 69.1% C 0.110 H 346.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CD7FAA
RGBrgb(205, 127, 170)
HSLhsl(327, 44%, 65%)
HSVhsv(327, 38%, 80%)
CMYKcmyk(0%, 38%, 17.1%, 19.6%)
CIE-LABlab(62.56, 36.14, -10.04)
CIE-LCHlch(62.56, 37.51, 344.48°)
OKLaboklab(69.15% 0.1071 -0.0263)
OKLCHoklch(69.15% 0.11 346.2)
XYZxyz(40.0223, 31.0626, 41.9101)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FAA #7FCDA2
analogous
#C97FCD #CD7FAA #CD7F83
triadic
#CD7FAA #AACD7F #7FAACD
tetradic
#CD7FAA #CDC97F #7FCDA2 #7F83CD
square
#CD7FAA #CDC97F #7FCDA2 #7F83CD
split-complementary
#CD7FAA #83CD7F #7FCDC9
monochromatic
#973B6E #BC538D #CD7FAA #DEABC7 #EFD7E4

Accessibility & contrast

On white

2.91
#CD7FAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CD7FAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FAA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FAA#FFFFFF#000000##000000
##CD7FAA1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#858FAC
Deuteranopia (green-blind)
#989CA8
Tritanopia (blue-blind)
#D77E8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7faa;
/* rgb */ color: rgb(205, 127, 170);
/* oklch */ color: oklch(69.1% 0.110 346.2);
Tailwind
colors: {
  custom: {
    50: '#dea5c3',
    500: '#cd7faa',
    950: '#000000',
  },
}
SCSS
$custom: #cd7faa;
$custom-light: #dea5c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7faa",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 170
  },
  "hsl": {
    "h": 326.923,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69147,
    "c": 0.11026,
    "h": 346.2
  },
  "luminance": 0.3106
}

Semantic roles & 50–950 ramp

primary
#CD7FAA
secondary
#C7E1D3
accent
#B76C2F
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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