#CD7FC8#CD7FC8

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

Color values

HEX#CD7FC8
RGBrgb(205, 127, 200)
HSLhsl(304, 44%, 65%)
HSVhsv(304, 38%, 80%)
CMYKcmyk(0%, 38%, 2.4%, 19.6%)
CIE-LABlab(63.61, 41.24, -25.41)
CIE-LCHlch(63.61, 48.44, 328.35°)
OKLaboklab(70.29% 0.1156 -0.069)
OKLCHoklch(70.29% 0.135 329.2)
XYZxyz(43.1909, 32.3300, 58.5977)
Luminance0.3233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FC8 #7FCD84
analogous
#AB7FCD #CD7FC8 #CD7FA1
triadic
#CD7FC8 #C8CD7F #7FC8CD
tetradic
#CD7FC8 #CDAB7F #7FCD84 #7FA1CD
square
#CD7FC8 #CDAB7F #7FCD84 #7FA1CD
split-complementary
#CD7FC8 #A1CD7F #7FCDAB
monochromatic
#973B91 #BC53B5 #CD7FC8 #DEABDB #EFD7EE

Accessibility & contrast

On white

2.81
#CD7FC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CD7FC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FC8
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FC8#FFFFFF#000000##000000
##CD7FC81.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd7fc8;
/* rgb */ color: rgb(205, 127, 200);
/* oklch */ color: oklch(70.3% 0.135 329.2);
Tailwind
colors: {
  custom: {
    50: '#dda6d9',
    500: '#cd7fc8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fc8;
$custom-light: #dda6d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fc8",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 200
  },
  "hsl": {
    "h": 303.846,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70291,
    "c": 0.13463,
    "h": 329.2
  },
  "luminance": 0.32328
}

Semantic roles & 50–950 ramp

primary
#CD7FC8
secondary
#C7E1C8
accent
#B7372F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CD7FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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