#CD7FC9#CD7FC9

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

Color values

HEX#CD7FC9
RGBrgb(205, 127, 201)
HSLhsl(303, 44%, 65%)
HSVhsv(303, 38%, 80%)
CMYKcmyk(0%, 38%, 2%, 19.6%)
CIE-LABlab(63.65, 41.42, -25.92)
CIE-LCHlch(63.65, 48.86, 327.96°)
OKLaboklab(70.33% 0.1159 -0.0704)
OKLCHoklch(70.33% 0.136 328.7)
XYZxyz(43.3081, 32.3769, 59.2152)
Luminance0.3237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FC9 #7FCD83
analogous
#AA7FCD #CD7FC9 #CD7FA2
triadic
#CD7FC9 #C9CD7F #7FC9CD
tetradic
#CD7FC9 #CDAA7F #7FCD83 #7FA2CD
square
#CD7FC9 #CDAA7F #7FCD83 #7FA2CD
split-complementary
#CD7FC9 #A2CD7F #7FCDAA
monochromatic
#973B92 #BC53B6 #CD7FC9 #DEABDC #EFD7EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7FC9#FFFFFF#000000##000000
##CD7FC91.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)
#7B94CC
Deuteranopia (green-blind)
#8F9EC6
Tritanopia (blue-blind)
#D2859B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7fc9;
/* rgb */ color: rgb(205, 127, 201);
/* oklch */ color: oklch(70.3% 0.136 328.7);
Tailwind
colors: {
  custom: {
    50: '#dda6d9',
    500: '#cd7fc9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fc9;
$custom-light: #dda6d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fc9",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 303.077,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70333,
    "c": 0.13557,
    "h": 328.7
  },
  "luminance": 0.32375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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