#CD7FC5#CD7FC5

#CD7FC5 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.2% C 0.132 H 330.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CD7FC5
RGBrgb(205, 127, 197)
HSLhsl(306, 44%, 65%)
HSVhsv(306, 38%, 80%)
CMYKcmyk(0%, 38%, 3.9%, 19.6%)
CIE-LABlab(63.50, 40.70, -23.90)
CIE-LCHlch(63.50, 47.20, 329.57°)
OKLaboklab(70.17% 0.1149 -0.0647)
OKLCHoklch(70.17% 0.132 330.6)
XYZxyz(42.8437, 32.1911, 56.7693)
Luminance0.3219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FC5 #7FCD87
analogous
#AE7FCD #CD7FC5 #CD7F9E
triadic
#CD7FC5 #C5CD7F #7FC5CD
tetradic
#CD7FC5 #CDAE7F #7FCD87 #7F9ECD
square
#CD7FC5 #CDAE7F #7FCD87 #7F9ECD
split-complementary
#CD7FC5 #9ECD7F #7FCDAE
monochromatic
#973B8D #BC53B1 #CD7FC5 #DEABD9 #EFD7ED

Accessibility & contrast

On white

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

On black

7.44
#CD7FC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FC5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FC5#FFFFFF#000000##000000
##CD7FC51.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C93C8
Deuteranopia (green-blind)
#909EC3
Tritanopia (blue-blind)
#D38499
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7fc5;
/* rgb */ color: rgb(205, 127, 197);
/* oklch */ color: oklch(70.2% 0.132 330.6);
Tailwind
colors: {
  custom: {
    50: '#dda6d6',
    500: '#cd7fc5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fc5;
$custom-light: #dda6d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fc5",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 197
  },
  "hsl": {
    "h": 306.154,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70167,
    "c": 0.13184,
    "h": 330.6
  },
  "luminance": 0.32189
}

Semantic roles & 50–950 ramp

primary
#CD7FC5
secondary
#C7E1C9
accent
#B73D2F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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