#CD7FD4#CD7FD4

#CD7FD4 is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.8% C 0.146 H 324.0°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CD7FD4
RGBrgb(205, 127, 212)
HSLhsl(295, 50%, 66%)
HSVhsv(295, 40%, 83%)
CMYKcmyk(3.3%, 40.1%, 0%, 16.9%)
CIE-LABlab(64.09, 43.46, -31.41)
CIE-LCHlch(64.09, 53.63, 324.15°)
OKLaboklab(70.8% 0.1184 -0.086)
OKLCHoklch(70.8% 0.146 324)
XYZxyz(44.6487, 32.9131, 66.2756)
Luminance0.3291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FD4 #86D47F
analogous
#A37FD4 #CD7FD4 #D47FB1
triadic
#CD7FD4 #D4CD7F #7FD4CD
tetradic
#CD7FD4 #D4A37F #86D47F #7FB1D4
square
#CD7FD4 #D4A37F #86D47F #7FB1D4
split-complementary
#CD7FD4 #B1D47F #7FD4A3
monochromatic
#9936A2 #BB51C5 #CD7FD4 #DFADE3 #F1DBF3

Accessibility & contrast

On white

2.77
#CD7FD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CD7FD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FD4
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FD4#FFFFFF#000000##000000
##CD7FD41.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7695D7
Deuteranopia (green-blind)
#8B9FD1
Tritanopia (blue-blind)
#D088A0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7fd4;
/* rgb */ color: rgb(205, 127, 212);
/* oklch */ color: oklch(70.8% 0.146 324.0);
Tailwind
colors: {
  custom: {
    50: '#dea6e1',
    500: '#cd7fd4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fd4;
$custom-light: #dea6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fd4",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 295.059,
    "s": 49.708,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70805,
    "c": 0.14629,
    "h": 324
  },
  "luminance": 0.32911
}

Semantic roles & 50–950 ramp

primary
#CD7FD4
secondary
#CCE5CA
accent
#BD2835
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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