#CD7FC6#CD7FC6

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

Color values

HEX#CD7FC6
RGBrgb(205, 127, 198)
HSLhsl(305, 44%, 65%)
HSVhsv(305, 38%, 80%)
CMYKcmyk(0%, 38%, 3.4%, 19.6%)
CIE-LABlab(63.54, 40.88, -24.41)
CIE-LCHlch(63.54, 47.61, 329.16°)
OKLaboklab(70.21% 0.1151 -0.0661)
OKLCHoklch(70.21% 0.133 330.1)
XYZxyz(42.9587, 32.2371, 57.3747)
Luminance0.3224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FC6 #7FCD86
analogous
#AD7FCD #CD7FC6 #CD7F9F
triadic
#CD7FC6 #C6CD7F #7FC6CD
tetradic
#CD7FC6 #CDAD7F #7FCD86 #7F9FCD
square
#CD7FC6 #CDAD7F #7FCD86 #7F9FCD
split-complementary
#CD7FC6 #9FCD7F #7FCDAD
monochromatic
#973B8E #BC53B2 #CD7FC6 #DEABDA #EFD7ED

Accessibility & contrast

On white

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

On black

7.45
#CD7FC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FC6
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FC6#FFFFFF#000000##000000
##CD7FC61.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C93C9
Deuteranopia (green-blind)
#909EC4
Tritanopia (blue-blind)
#D3859A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7fc6;
/* rgb */ color: rgb(205, 127, 198);
/* oklch */ color: oklch(70.2% 0.133 330.1);
Tailwind
colors: {
  custom: {
    50: '#dda6d7',
    500: '#cd7fc6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fc6;
$custom-light: #dda6d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fc6",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 198
  },
  "hsl": {
    "h": 305.385,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70208,
    "c": 0.13277,
    "h": 330.1
  },
  "luminance": 0.32235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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