#CD7FDF#CD7FDF

#CD7FDF is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.3% C 0.158 H 319.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CD7FDF
RGBrgb(205, 127, 223)
HSLhsl(289, 60%, 69%)
HSVhsv(289, 43%, 87%)
CMYKcmyk(8.1%, 43%, 0%, 12.5%)
CIE-LABlab(64.55, 45.59, -36.82)
CIE-LCHlch(64.55, 58.60, 321.07°)
OKLaboklab(71.3% 0.1205 -0.1014)
OKLCHoklch(71.3% 0.158 319.9)
XYZxyz(46.0838, 33.4872, 73.8339)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FDF #91DF7F
analogous
#9D7FDF #CD7FDF #DF7FC1
triadic
#CD7FDF #DFCD7F #7FDFCD
tetradic
#CD7FDF #DF9D7F #91DF7F #7FC1DF
square
#CD7FDF #DF9D7F #91DF7F #7FC1DF
split-complementary
#CD7FDF #C1DF7F #7FDF9D
monochromatic
#9C2EB6 #BA4ED3 #CD7FDF #E0B0EB #F3E1F7

Accessibility & contrast

On white

2.73
#CD7FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CD7FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FDF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FDF#FFFFFF#000000##000000
##CD7FDF1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7197E2
Deuteranopia (green-blind)
#869FDC
Tritanopia (blue-blind)
#CE8BA5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd7fdf;
/* rgb */ color: rgb(205, 127, 223);
/* oklch */ color: oklch(71.3% 0.158 319.9);
Tailwind
colors: {
  custom: {
    50: '#dea6e9',
    500: '#cd7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fdf;
$custom-light: #dea6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fdf",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 288.75,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71304,
    "c": 0.15754,
    "h": 319.9
  },
  "luminance": 0.33486
}

Semantic roles & 50–950 ramp

primary
#CD7FDF
secondary
#D4EBCF
accent
#C81E3E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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