#DB93EC#DB93EC

#DB93EC is a light, vivid purple. Relative luminance 0.420; OKLCH L 76.6% C 0.145 H 319.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#DB93EC
RGBrgb(219, 147, 236)
HSLhsl(289, 70%, 75%)
HSVhsv(289, 38%, 93%)
CMYKcmyk(7.2%, 37.7%, 0%, 7.5%)
CIE-LABlab(70.86, 41.71, -34.08)
CIE-LCHlch(70.86, 53.86, 320.76°)
OKLaboklab(76.56% 0.1106 -0.0935)
OKLCHoklch(76.56% 0.145 319.8)
XYZxyz(54.7855, 41.9853, 84.5587)
Luminance0.4198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB93EC #A4EC93
analogous
#AE93EC #DB93EC #EC93D1
triadic
#DB93EC #ECDB93 #93ECDB
tetradic
#DB93EC #ECAE93 #A4EC93 #93D1EC
square
#DB93EC #ECAE93 #A4EC93 #93D1EC
split-complementary
#DB93EC #D1EC93 #93ECAE
monochromatic
#B82BDA #CA5FE3 #DB93EC #ECC7F5 #F6E5FA

Accessibility & contrast

On white

2.23
#DB93EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#DB93EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB93EC
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB93EC#FFFFFF#000000##000000
##DB93EC1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EF
Deuteranopia (green-blind)
#99B0E9
Tritanopia (blue-blind)
#DC9EB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #db93ec;
/* rgb */ color: rgb(219, 147, 236);
/* oklch */ color: oklch(76.6% 0.145 319.8);
Tailwind
colors: {
  custom: {
    50: '#e7b4f2',
    500: '#db93ec',
    950: '#000000',
  },
}
SCSS
$custom: #db93ec;
$custom-light: #e7b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db93ec",
  "rgb": {
    "r": 219,
    "g": 147,
    "b": 236
  },
  "hsl": {
    "h": 288.539,
    "s": 70.079,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7656,
    "c": 0.14478,
    "h": 319.8
  },
  "luminance": 0.41984
}

Semantic roles & 50–950 ramp

primary
#DB93EC
secondary
#DEF2D9
accent
#D21338
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB93EC

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

Preview Lab → · Contrast checker → · Palette generator →

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