#CD93E2#CD93E2

#CD93E2 is a light, vivid purple. Relative luminance 0.393; OKLCH L 74.7% C 0.127 H 316.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CD93E2
RGBrgb(205, 147, 226)
HSLhsl(284, 58%, 73%)
HSVhsv(284, 35%, 89%)
CMYKcmyk(9.3%, 35%, 0%, 11.4%)
CIE-LABlab(69.00, 35.47, -31.59)
CIE-LCHlch(69.00, 47.50, 318.31°)
OKLaboklab(74.69% 0.0922 -0.0866)
OKLCHoklch(74.69% 0.127 316.8)
XYZxyz(49.3360, 39.3387, 76.9310)
Luminance0.3934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93E2 #A8E293
analogous
#A593E2 #CD93E2 #E293CF
triadic
#CD93E2 #E2CD93 #93E2CD
tetradic
#CD93E2 #E2A593 #A8E293 #93CFE2
square
#CD93E2 #E2A593 #A8E293 #93CFE2
split-complementary
#CD93E2 #CFE293 #93E2A5
monochromatic
#9F35C6 #B763D5 #CD93E2 #E3C3EF #F4E7F9

Accessibility & contrast

On white

2.37
#CD93E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#CD93E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93E2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93E2#FFFFFF#000000##000000
##CD93E21.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A5E5
Deuteranopia (green-blind)
#95AAE0
Tritanopia (blue-blind)
#CD9DB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd93e2;
/* rgb */ color: rgb(205, 147, 226);
/* oklch */ color: oklch(74.7% 0.127 316.8);
Tailwind
colors: {
  custom: {
    50: '#ddb3eb',
    500: '#cd93e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd93e2;
$custom-light: #ddb3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93e2",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 226
  },
  "hsl": {
    "h": 284.051,
    "s": 57.664,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74689,
    "c": 0.12654,
    "h": 316.8
  },
  "luminance": 0.39338
}

Semantic roles & 50–950 ramp

primary
#CD93E2
secondary
#E1F0DB
accent
#C5204C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD93E2

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

Preview Lab → · Contrast checker → · Palette generator →

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