#CD7FC4#CD7FC4

#CD7FC4 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.1% C 0.131 H 331.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CD7FC4
RGBrgb(205, 127, 196)
HSLhsl(307, 44%, 65%)
HSVhsv(307, 38%, 80%)
CMYKcmyk(0%, 38%, 4.4%, 19.6%)
CIE-LABlab(63.46, 40.52, -23.40)
CIE-LCHlch(63.46, 46.79, 330.00°)
OKLaboklab(70.13% 0.1146 -0.0633)
OKLCHoklch(70.13% 0.131 331.1)
XYZxyz(42.7295, 32.1455, 56.1678)
Luminance0.3214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FC4 #7FCD88
analogous
#AF7FCD #CD7FC4 #CD7F9D
triadic
#CD7FC4 #C4CD7F #7FC4CD
tetradic
#CD7FC4 #CDAF7F #7FCD88 #7F9DCD
square
#CD7FC4 #CDAF7F #7FCD88 #7F9DCD
split-complementary
#CD7FC4 #9DCD7F #7FCDAF
monochromatic
#973B8C #BC53B0 #CD7FC4 #DEABD8 #EFD7ED

Accessibility & contrast

On white

2.83
#CD7FC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CD7FC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FC4
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FC4#FFFFFF#000000##000000
##CD7FC41.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C93C7
Deuteranopia (green-blind)
#919EC2
Tritanopia (blue-blind)
#D38499
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7fc4;
/* rgb */ color: rgb(205, 127, 196);
/* oklch */ color: oklch(70.1% 0.131 331.1);
Tailwind
colors: {
  custom: {
    50: '#dda6d6',
    500: '#cd7fc4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fc4;
$custom-light: #dda6d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fc4",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 306.923,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70127,
    "c": 0.13093,
    "h": 331.1
  },
  "luminance": 0.32143
}

Semantic roles & 50–950 ramp

primary
#CD7FC4
secondary
#C7E1CA
accent
#B73E2F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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