#CD7FCC#CD7FCC

#CD7FCC is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.5% C 0.138 H 327.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CD7FCC
RGBrgb(205, 127, 204)
HSLhsl(301, 44%, 65%)
HSVhsv(301, 38%, 80%)
CMYKcmyk(0%, 38%, 0.5%, 19.6%)
CIE-LABlab(63.77, 41.97, -27.42)
CIE-LCHlch(63.77, 50.13, 326.84°)
OKLaboklab(70.46% 0.1166 -0.0746)
OKLCHoklch(70.46% 0.138 327.4)
XYZxyz(43.6645, 32.5194, 61.0919)
Luminance0.3252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FCC #7FCD80
analogous
#A77FCD #CD7FCC #CD7FA5
triadic
#CD7FCC #CCCD7F #7FCCCD
tetradic
#CD7FCC #CDA77F #7FCD80 #7FA5CD
square
#CD7FCC #CDA77F #7FCD80 #7FA5CD
split-complementary
#CD7FCC #A5CD7F #7FCDA7
monochromatic
#973B96 #BC53BA #CD7FCC #DEABDE #EFD7EF

Accessibility & contrast

On white

2.80
#CD7FCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#CD7FCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FCC
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FCC#FFFFFF#000000##000000
##CD7FCC1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CF
Deuteranopia (green-blind)
#8E9EC9
Tritanopia (blue-blind)
#D2869C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7fcc;
/* rgb */ color: rgb(205, 127, 204);
/* oklch */ color: oklch(70.5% 0.138 327.4);
Tailwind
colors: {
  custom: {
    50: '#dda6db',
    500: '#cd7fcc',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fcc;
$custom-light: #dda6db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fcc",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 300.769,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70459,
    "c": 0.13842,
    "h": 327.4
  },
  "luminance": 0.32518
}

Semantic roles & 50–950 ramp

primary
#CD7FCC
secondary
#C7E1C7
accent
#B7302F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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