#CD7FD3#CD7FD3

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

Color values

HEX#CD7FD3
RGBrgb(205, 127, 211)
HSLhsl(296, 49%, 66%)
HSVhsv(296, 40%, 83%)
CMYKcmyk(2.8%, 39.8%, 0%, 17.3%)
CIE-LABlab(64.05, 43.27, -30.91)
CIE-LCHlch(64.05, 53.18, 324.46°)
OKLaboklab(70.76% 0.1182 -0.0845)
OKLCHoklch(70.76% 0.145 324.4)
XYZxyz(44.5229, 32.8628, 65.6133)
Luminance0.3286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FD3 #85D37F
analogous
#A37FD3 #CD7FD3 #D37FAF
triadic
#CD7FD3 #D3CD7F #7FD3CD
tetradic
#CD7FD3 #D3A37F #85D37F #7FAFD3
square
#CD7FD3 #D3A37F #85D37F #7FAFD3
split-complementary
#CD7FD3 #AFD37F #7FD3A3
monochromatic
#9937A0 #BB51C3 #CD7FD3 #DFADE3 #F1DAF2

Accessibility & contrast

On white

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

On black

7.57
#CD7FD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FD3
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FD3#FFFFFF#000000##000000
##CD7FD31.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7795D6
Deuteranopia (green-blind)
#8B9FD0
Tritanopia (blue-blind)
#D0889F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7fd3;
/* rgb */ color: rgb(205, 127, 211);
/* oklch */ color: oklch(70.8% 0.145 324.4);
Tailwind
colors: {
  custom: {
    50: '#dea6e0',
    500: '#cd7fd3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fd3;
$custom-light: #dea6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fd3",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 211
  },
  "hsl": {
    "h": 295.714,
    "s": 48.837,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70761,
    "c": 0.14529,
    "h": 324.4
  },
  "luminance": 0.32861
}

Semantic roles & 50–950 ramp

primary
#CD7FD3
secondary
#CBE5C9
accent
#BC2934
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD7FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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