#DB93F2#DB93F2

#DB93F2 is a light, vivid purple. Relative luminance 0.423; OKLCH L 76.8% C 0.151 H 317.7°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#DB93F2
RGBrgb(219, 147, 242)
HSLhsl(285, 79%, 76%)
HSVhsv(285, 39%, 95%)
CMYKcmyk(9.5%, 39.3%, 0%, 5.1%)
CIE-LABlab(71.10, 42.90, -36.98)
CIE-LCHlch(71.10, 56.63, 319.24°)
OKLaboklab(76.82% 0.1118 -0.1017)
OKLCHoklch(76.82% 0.151 317.7)
XYZxyz(55.6719, 42.3399, 89.2269)
Luminance0.4234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB93F2 #AAF293
analogous
#AC93F2 #DB93F2 #F293DA
triadic
#DB93F2 #F2DB93 #93F2DB
tetradic
#DB93F2 #F2AC93 #AAF293 #93DAF2
square
#DB93F2 #F2AC93 #AAF293 #93DAF2
split-complementary
#DB93F2 #DAF293 #93F2AC
monochromatic
#B726E5 #C95CEB #DB93F2 #EDCAF9 #F6E4FC

Accessibility & contrast

On white

2.22
#DB93F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#DB93F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB93F2
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB93F2#FFFFFF#000000##000000
##DB93F21.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A9F5
Deuteranopia (green-blind)
#97B0EF
Tritanopia (blue-blind)
#DB9FB7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #db93f2;
/* rgb */ color: rgb(219, 147, 242);
/* oklch */ color: oklch(76.8% 0.151 317.7);
Tailwind
colors: {
  custom: {
    50: '#e7b4f6',
    500: '#db93f2',
    950: '#000000',
  },
}
SCSS
$custom: #db93f2;
$custom-light: #e7b4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#db93f2",
  "rgb": {
    "r": 219,
    "g": 147,
    "b": 242
  },
  "hsl": {
    "h": 285.474,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76824,
    "c": 0.15119,
    "h": 317.7
  },
  "luminance": 0.42338
}

Semantic roles & 50–950 ramp

primary
#DB93F2
secondary
#DEF4D7
accent
#DB0B3D
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DB93F2

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

Preview Lab → · Contrast checker → · Palette generator →

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