#CD7FD6#CD7FD6

#CD7FD6 is a light, vivid purple. Relative luminance 0.330; OKLCH L 70.9% C 0.148 H 323.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CD7FD6
RGBrgb(205, 127, 214)
HSLhsl(294, 51%, 67%)
HSVhsv(294, 41%, 84%)
CMYKcmyk(4.2%, 40.7%, 0%, 16.1%)
CIE-LABlab(64.17, 43.84, -32.40)
CIE-LCHlch(64.17, 54.52, 323.54°)
OKLaboklab(70.89% 0.1188 -0.0888)
OKLCHoklch(70.89% 0.148 323.2)
XYZxyz(44.9025, 33.0147, 67.6125)
Luminance0.3301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FD6 #88D67F
analogous
#A27FD6 #CD7FD6 #D67FB4
triadic
#CD7FD6 #D6CD7F #7FD6CD
tetradic
#CD7FD6 #D6A27F #88D67F #7FB4D6
square
#CD7FD6 #D6A27F #88D67F #7FB4D6
split-complementary
#CD7FD6 #B4D67F #7FD6A2
monochromatic
#9A35A6 #BB51C7 #CD7FD6 #DFADE5 #F1DCF4

Accessibility & contrast

On white

2.76
#CD7FD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#CD7FD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FD6
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FD6#FFFFFF#000000##000000
##CD7FD61.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7596D9
Deuteranopia (green-blind)
#8A9FD3
Tritanopia (blue-blind)
#D089A1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7fd6;
/* rgb */ color: rgb(205, 127, 214);
/* oklch */ color: oklch(70.9% 0.148 323.2);
Tailwind
colors: {
  custom: {
    50: '#dea6e3',
    500: '#cd7fd6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fd6;
$custom-light: #dea6e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fd6",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 214
  },
  "hsl": {
    "h": 293.793,
    "s": 51.479,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70894,
    "c": 0.1483,
    "h": 323.2
  },
  "luminance": 0.33013
}

Semantic roles & 50–950 ramp

primary
#CD7FD6
secondary
#CDE6CA
accent
#BF2736
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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