#CD7FC7#CD7FC7

#CD7FC7 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.3% C 0.134 H 329.6°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CD7FC7
RGBrgb(205, 127, 199)
HSLhsl(305, 44%, 65%)
HSVhsv(305, 38%, 80%)
CMYKcmyk(0%, 38%, 2.9%, 19.6%)
CIE-LABlab(63.58, 41.06, -24.91)
CIE-LCHlch(63.58, 48.02, 328.75°)
OKLaboklab(70.25% 0.1154 -0.0676)
OKLCHoklch(70.25% 0.134 329.6)
XYZxyz(43.0744, 32.2834, 57.9842)
Luminance0.3228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FC7 #7FCD85
analogous
#AC7FCD #CD7FC7 #CD7FA0
triadic
#CD7FC7 #C7CD7F #7FC7CD
tetradic
#CD7FC7 #CDAC7F #7FCD85 #7FA0CD
square
#CD7FC7 #CDAC7F #7FCD85 #7FA0CD
split-complementary
#CD7FC7 #A0CD7F #7FCDAC
monochromatic
#973B90 #BC53B4 #CD7FC7 #DEABDA #EFD7EE

Accessibility & contrast

On white

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

On black

7.46
#CD7FC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FC7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FC7#FFFFFF#000000##000000
##CD7FC71.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B93CA
Deuteranopia (green-blind)
#8F9EC5
Tritanopia (blue-blind)
#D3859A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7fc7;
/* rgb */ color: rgb(205, 127, 199);
/* oklch */ color: oklch(70.3% 0.134 329.6);
Tailwind
colors: {
  custom: {
    50: '#dda6d8',
    500: '#cd7fc7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fc7;
$custom-light: #dda6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fc7",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 304.615,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.7025,
    "c": 0.1337,
    "h": 329.6
  },
  "luminance": 0.32281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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