#CD93D8#CD93D8

#CD93D8 is a light, moderate purple. Relative luminance 0.388; OKLCH L 74.3% C 0.115 H 321.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CD93D8
RGBrgb(205, 147, 216)
HSLhsl(290, 47%, 71%)
HSVhsv(290, 32%, 85%)
CMYKcmyk(5.1%, 31.9%, 0%, 15.3%)
CIE-LABlab(68.61, 33.48, -26.66)
CIE-LCHlch(68.61, 42.80, 321.47°)
OKLaboklab(74.27% 0.0898 -0.0727)
OKLCHoklch(74.27% 0.115 321)
XYZxyz(48.0037, 38.8058, 69.9140)
Luminance0.3880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93D8 #9ED893
analogous
#AA93D8 #CD93D8 #D893C0
triadic
#CD93D8 #D8CD93 #93D8CD
tetradic
#CD93D8 #D8AA93 #9ED893 #93C0D8
square
#CD93D8 #D8AA93 #9ED893 #93C0D8
split-complementary
#CD93D8 #C0D893 #93D8AA
monochromatic
#9F40B1 #B866C8 #CD93D8 #E2C0E8 #F5E9F7

Accessibility & contrast

On white

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

On black

8.76
#CD93D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93D8
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93D8#FFFFFF#000000##000000
##CD93D81.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd93d8;
/* rgb */ color: rgb(205, 147, 216);
/* oklch */ color: oklch(74.3% 0.115 321.0);
Tailwind
colors: {
  custom: {
    50: '#ddb3e4',
    500: '#cd93d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd93d8;
$custom-light: #ddb3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93d8",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 216
  },
  "hsl": {
    "h": 290.435,
    "s": 46.939,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7427,
    "c": 0.11548,
    "h": 321
  },
  "luminance": 0.38804
}

Semantic roles & 50–950 ramp

primary
#CD93D8
secondary
#DDECDA
accent
#BA2B42
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD93D8

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

Preview Lab → · Contrast checker → · Palette generator →

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