#CD7FD2#CD7FD2

#CD7FD2 is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.7% C 0.144 H 324.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CD7FD2
RGBrgb(205, 127, 210)
HSLhsl(296, 48%, 66%)
HSVhsv(296, 40%, 82%)
CMYKcmyk(2.4%, 39.5%, 0%, 17.6%)
CIE-LABlab(64.01, 43.09, -30.42)
CIE-LCHlch(64.01, 52.74, 324.78°)
OKLaboklab(70.72% 0.1179 -0.0831)
OKLCHoklch(70.72% 0.144 324.8)
XYZxyz(44.3980, 32.8128, 64.9551)
Luminance0.3281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FD2 #84D27F
analogous
#A37FD2 #CD7FD2 #D27FAD
triadic
#CD7FD2 #D2CD7F #7FD2CD
tetradic
#CD7FD2 #D2A37F #84D27F #7FADD2
square
#CD7FD2 #D2A37F #84D27F #7FADD2
split-complementary
#CD7FD2 #ADD27F #7FD2A3
monochromatic
#99389F #BB52C2 #CD7FD2 #DFACE2 #F0DAF2

Accessibility & contrast

On white

2.78
#CD7FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CD7FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FD2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FD2#FFFFFF#000000##000000
##CD7FD21.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7795D5
Deuteranopia (green-blind)
#8B9ECF
Tritanopia (blue-blind)
#D1889F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7fd2;
/* rgb */ color: rgb(205, 127, 210);
/* oklch */ color: oklch(70.7% 0.144 324.8);
Tailwind
colors: {
  custom: {
    50: '#dea6e0',
    500: '#cd7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fd2;
$custom-light: #dea6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fd2",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 296.386,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70717,
    "c": 0.14429,
    "h": 324.8
  },
  "luminance": 0.32811
}

Semantic roles & 50–950 ramp

primary
#CD7FD2
secondary
#CAE4C9
accent
#BB2A33
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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