#CD93DF#CD93DF

#CD93DF is a light, vivid purple. Relative luminance 0.392; OKLCH L 74.6% C 0.123 H 318.0°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CD93DF
RGBrgb(205, 147, 223)
HSLhsl(286, 54%, 73%)
HSVhsv(286, 34%, 87%)
CMYKcmyk(8.1%, 34.1%, 0%, 12.5%)
CIE-LABlab(68.88, 34.87, -30.12)
CIE-LCHlch(68.88, 46.07, 319.18°)
OKLaboklab(74.56% 0.0915 -0.0824)
OKLCHoklch(74.56% 0.123 318)
XYZxyz(48.9280, 39.1755, 74.7819)
Luminance0.3917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93DF #A5DF93
analogous
#A793DF #CD93DF #DF93CB
triadic
#CD93DF #DFCD93 #93DFCD
tetradic
#CD93DF #DFA793 #A5DF93 #93CBDF
square
#CD93DF #DFA793 #A5DF93 #93CBDF
split-complementary
#CD93DF #CBDF93 #93DFA7
monochromatic
#9F39BF #B764D1 #CD93DF #E3C2ED #F4E7F8

Accessibility & contrast

On white

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

On black

8.83
#CD93DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93DF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93DF#FFFFFF#000000##000000
##CD93DF1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A4E2
Deuteranopia (green-blind)
#96AADD
Tritanopia (blue-blind)
#CD9CAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd93df;
/* rgb */ color: rgb(205, 147, 223);
/* oklch */ color: oklch(74.6% 0.123 318.0);
Tailwind
colors: {
  custom: {
    50: '#ddb3e9',
    500: '#cd93df',
    950: '#000000',
  },
}
SCSS
$custom: #cd93df;
$custom-light: #ddb3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93df",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 223
  },
  "hsl": {
    "h": 285.789,
    "s": 54.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74561,
    "c": 0.12318,
    "h": 318
  },
  "luminance": 0.39174
}

Semantic roles & 50–950 ramp

primary
#CD93DF
secondary
#E0EFDC
accent
#C22449
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD93DF

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

Preview Lab → · Contrast checker → · Palette generator →

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