#CD93EA#CD93EA

#CD93EA is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.0% C 0.136 H 313.9°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CD93EA
RGBrgb(205, 147, 234)
HSLhsl(280, 67%, 75%)
HSVhsv(280, 37%, 92%)
CMYKcmyk(12.4%, 37.2%, 0%, 8.2%)
CIE-LABlab(69.32, 37.11, -35.49)
CIE-LCHlch(69.32, 51.35, 316.28°)
OKLaboklab(75.04% 0.0941 -0.0977)
OKLCHoklch(75.04% 0.136 313.9)
XYZxyz(50.4594, 39.7881, 82.8477)
Luminance0.3979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93EA #B0EA93
analogous
#A293EA #CD93EA #EA93DC
triadic
#CD93EA #EACD93 #93EACD
tetradic
#CD93EA #EAA293 #B0EA93 #93DCEA
square
#CD93EA #EAA293 #B0EA93 #93DCEA
split-complementary
#CD93EA #DCEA93 #93EAA2
monochromatic
#9E2DD6 #B560E0 #CD93EA #E5C6F4 #F3E5FA

Accessibility & contrast

On white

2.34
#CD93EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#CD93EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93EA
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93EA#FFFFFF#000000##000000
##CD93EA1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6ED
Deuteranopia (green-blind)
#92ABE7
Tritanopia (blue-blind)
#CB9FB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd93ea;
/* rgb */ color: rgb(205, 147, 234);
/* oklch */ color: oklch(75.0% 0.136 313.9);
Tailwind
colors: {
  custom: {
    50: '#ddb3f1',
    500: '#cd93ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd93ea;
$custom-light: #ddb3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93ea",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 234
  },
  "hsl": {
    "h": 280,
    "s": 67.442,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75039,
    "c": 0.13565,
    "h": 313.9
  },
  "luminance": 0.39787
}

Semantic roles & 50–950 ramp

primary
#CD93EA
secondary
#E1F2D9
accent
#CF1654
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD93EA

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

Preview Lab → · Contrast checker → · Palette generator →

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