#CD93DE#CD93DE

#CD93DE is a light, vivid purple. Relative luminance 0.391; OKLCH L 74.5% C 0.122 H 318.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#CD93DE
RGBrgb(205, 147, 222)
HSLhsl(286, 53%, 72%)
HSVhsv(286, 34%, 87%)
CMYKcmyk(7.7%, 33.8%, 0%, 12.9%)
CIE-LABlab(68.84, 34.67, -29.63)
CIE-LCHlch(68.84, 45.60, 319.48°)
OKLaboklab(74.52% 0.0913 -0.081)
OKLCHoklch(74.52% 0.122 318.4)
XYZxyz(48.7936, 39.1217, 74.0740)
Luminance0.3912 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93DE #A4DE93
analogous
#A893DE #CD93DE #DE93C9
triadic
#CD93DE #DECD93 #93DECD
tetradic
#CD93DE #DEA893 #A4DE93 #93C9DE
square
#CD93DE #DEA893 #A4DE93 #93C9DE
split-complementary
#CD93DE #C9DE93 #93DEA8
monochromatic
#9F3ABD #B764D0 #CD93DE #E3C2EC #F4E8F8

Accessibility & contrast

On white

2.38
#CD93DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#CD93DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93DE
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93DE#FFFFFF#000000##000000
##CD93DE1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A4E1
Deuteranopia (green-blind)
#97AADC
Tritanopia (blue-blind)
#CD9CAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd93de;
/* rgb */ color: rgb(205, 147, 222);
/* oklch */ color: oklch(74.5% 0.122 318.4);
Tailwind
colors: {
  custom: {
    50: '#ddb3e8',
    500: '#cd93de',
    950: '#000000',
  },
}
SCSS
$custom: #cd93de;
$custom-light: #ddb3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93de",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 222
  },
  "hsl": {
    "h": 286.4,
    "s": 53.191,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74519,
    "c": 0.12206,
    "h": 318.4
  },
  "luminance": 0.3912
}

Semantic roles & 50–950 ramp

primary
#CD93DE
secondary
#E0EFDC
accent
#C12548
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD93DE

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

Preview Lab → · Contrast checker → · Palette generator →

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