#CD93D7#CD93D7

#CD93D7 is a light, moderate purple. Relative luminance 0.388; OKLCH L 74.2% C 0.114 H 321.5°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#CD93D7
RGBrgb(205, 147, 215)
HSLhsl(291, 46%, 71%)
HSVhsv(291, 32%, 84%)
CMYKcmyk(4.7%, 31.6%, 0%, 15.7%)
CIE-LABlab(68.57, 33.29, -26.17)
CIE-LCHlch(68.57, 42.34, 321.83°)
OKLaboklab(74.23% 0.0895 -0.0713)
OKLCHoklch(74.23% 0.114 321.5)
XYZxyz(47.8748, 38.7542, 69.2352)
Luminance0.3875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93D7 #9DD793
analogous
#AB93D7 #CD93D7 #D793BF
triadic
#CD93D7 #D7CD93 #93D7CD
tetradic
#CD93D7 #D7AB93 #9DD793 #93BFD7
square
#CD93D7 #D7AB93 #9DD793 #93BFD7
split-complementary
#CD93D7 #BFD793 #93D7AB
monochromatic
#9F41AF #B866C6 #CD93D7 #E2C0E8 #F5E9F7

Accessibility & contrast

On white

2.40
#CD93D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#CD93D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93D7
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93D7#FFFFFF#000000##000000
##CD93D71.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA3DA
Deuteranopia (green-blind)
#99AAD5
Tritanopia (blue-blind)
#CF9AAC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd93d7;
/* rgb */ color: rgb(205, 147, 215);
/* oklch */ color: oklch(74.2% 0.114 321.5);
Tailwind
colors: {
  custom: {
    50: '#ddb3e3',
    500: '#cd93d7',
    950: '#000000',
  },
}
SCSS
$custom: #cd93d7;
$custom-light: #ddb3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93d7",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 215
  },
  "hsl": {
    "h": 291.176,
    "s": 45.946,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74229,
    "c": 0.11439,
    "h": 321.5
  },
  "luminance": 0.38753
}

Semantic roles & 50–950 ramp

primary
#CD93D7
secondary
#DDECDA
accent
#B92C41
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD93D7

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

Preview Lab → · Contrast checker → · Palette generator →

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