#CD93DC#CD93DC

#CD93DC is a light, moderate purple. Relative luminance 0.390; OKLCH L 74.4% C 0.120 H 319.2°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CD93DC
RGBrgb(205, 147, 220)
HSLhsl(288, 51%, 72%)
HSVhsv(288, 33%, 86%)
CMYKcmyk(6.8%, 33.2%, 0%, 13.7%)
CIE-LABlab(68.76, 34.27, -28.64)
CIE-LCHlch(68.76, 44.66, 320.11°)
OKLaboklab(74.44% 0.0908 -0.0782)
OKLCHoklch(74.44% 0.12 319.2)
XYZxyz(48.5271, 39.0151, 72.6706)
Luminance0.3901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93DC #A2DC93
analogous
#A993DC #CD93DC #DC93C7
triadic
#CD93DC #DCCD93 #93DCCD
tetradic
#CD93DC #DCA993 #A2DC93 #93C7DC
square
#CD93DC #DCA993 #A2DC93 #93C7DC
split-complementary
#CD93DC #C7DC93 #93DCA9
monochromatic
#9F3CB9 #B865CD #CD93DC #E2C1EB #F4E8F8

Accessibility & contrast

On white

2.39
#CD93DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#CD93DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93DC
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93DC#FFFFFF#000000##000000
##CD93DC1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4DF
Deuteranopia (green-blind)
#98AADA
Tritanopia (blue-blind)
#CE9BAE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd93dc;
/* rgb */ color: rgb(205, 147, 220);
/* oklch */ color: oklch(74.4% 0.120 319.2);
Tailwind
colors: {
  custom: {
    50: '#ddb3e7',
    500: '#cd93dc',
    950: '#000000',
  },
}
SCSS
$custom: #cd93dc;
$custom-light: #ddb3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93dc",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 220
  },
  "hsl": {
    "h": 287.671,
    "s": 51.049,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74435,
    "c": 0.11984,
    "h": 319.2
  },
  "luminance": 0.39014
}

Semantic roles & 50–950 ramp

primary
#CD93DC
secondary
#E0EFDC
accent
#BE2746
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD93DC

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

Preview Lab → · Contrast checker → · Palette generator →

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