#CD7FD1#CD7FD1

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

Color values

HEX#CD7FD1
RGBrgb(205, 127, 209)
HSLhsl(297, 47%, 66%)
HSVhsv(297, 39%, 82%)
CMYKcmyk(1.9%, 39.2%, 0%, 18%)
CIE-LABlab(63.97, 42.90, -29.92)
CIE-LCHlch(63.97, 52.30, 325.11°)
OKLaboklab(70.67% 0.1177 -0.0817)
OKLCHoklch(70.67% 0.143 325.2)
XYZxyz(44.2738, 32.7632, 64.3010)
Luminance0.3276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FD1 #83D17F
analogous
#A47FD1 #CD7FD1 #D17FAC
triadic
#CD7FD1 #D1CD7F #7FD1CD
tetradic
#CD7FD1 #D1A47F #83D17F #7FACD1
square
#CD7FD1 #D1A47F #83D17F #7FACD1
split-complementary
#CD7FD1 #ACD17F #7FD1A4
monochromatic
#98389D #BB52C1 #CD7FD1 #DFACE1 #F0D9F1

Accessibility & contrast

On white

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

On black

7.55
#CD7FD1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FD1
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FD1#FFFFFF#000000##000000
##CD7FD11.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7795D4
Deuteranopia (green-blind)
#8C9ECE
Tritanopia (blue-blind)
#D1879E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7fd1;
/* rgb */ color: rgb(205, 127, 209);
/* oklch */ color: oklch(70.7% 0.143 325.2);
Tailwind
colors: {
  custom: {
    50: '#dea6df',
    500: '#cd7fd1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fd1;
$custom-light: #dea6df;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fd1",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 209
  },
  "hsl": {
    "h": 297.073,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70674,
    "c": 0.1433,
    "h": 325.2
  },
  "luminance": 0.32761
}

Semantic roles & 50–950 ramp

primary
#CD7FD1
secondary
#CAE3C8
accent
#BA2B32
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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