#CD93E1#CD93E1

#CD93E1 is a light, vivid purple. Relative luminance 0.393; OKLCH L 74.6% C 0.125 H 317.2°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CD93E1
RGBrgb(205, 147, 225)
HSLhsl(285, 57%, 73%)
HSVhsv(285, 35%, 88%)
CMYKcmyk(8.9%, 34.7%, 0%, 11.8%)
CIE-LABlab(68.96, 35.27, -31.10)
CIE-LCHlch(68.96, 47.02, 318.60°)
OKLaboklab(74.65% 0.092 -0.0852)
OKLCHoklch(74.65% 0.125 317.2)
XYZxyz(49.1992, 39.2840, 76.2104)
Luminance0.3928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD93E1 #A7E193
analogous
#A693E1 #CD93E1 #E193CE
triadic
#CD93E1 #E1CD93 #93E1CD
tetradic
#CD93E1 #E1A693 #A7E193 #93CEE1
square
#CD93E1 #E1A693 #A7E193 #93CEE1
split-complementary
#CD93E1 #CEE193 #93E1A6
monochromatic
#9F36C3 #B763D4 #CD93E1 #E3C3EE #F4E7F8

Accessibility & contrast

On white

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

On black

8.86
#CD93E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD93E1
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD93E1#FFFFFF#000000##000000
##CD93E11.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A5E4
Deuteranopia (green-blind)
#96AADF
Tritanopia (blue-blind)
#CD9DB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd93e1;
/* rgb */ color: rgb(205, 147, 225);
/* oklch */ color: oklch(74.6% 0.125 317.2);
Tailwind
colors: {
  custom: {
    50: '#ddb3ea',
    500: '#cd93e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd93e1;
$custom-light: #ddb3ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd93e1",
  "rgb": {
    "r": 205,
    "g": 147,
    "b": 225
  },
  "hsl": {
    "h": 284.615,
    "s": 56.522,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74646,
    "c": 0.12541,
    "h": 317.2
  },
  "luminance": 0.39283
}

Semantic roles & 50–950 ramp

primary
#CD93E1
secondary
#E1F0DB
accent
#C4214B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD93E1

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

Preview Lab → · Contrast checker → · Palette generator →

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