#DB8EF2#DB8EF2

#DB8EF2 is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.0% C 0.160 H 318.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#DB8EF2
RGBrgb(219, 142, 242)
HSLhsl(286, 79%, 75%)
HSVhsv(286, 41%, 95%)
CMYKcmyk(9.5%, 41.3%, 0%, 5.1%)
CIE-LABlab(70.05, 45.53, -38.62)
CIE-LCHlch(70.05, 59.71, 319.70°)
OKLaboklab(76.03% 0.1189 -0.1064)
OKLCHoklch(76.03% 0.16 318.2)
XYZxyz(54.9112, 40.8185, 88.9734)
Luminance0.4082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8EF2 #A5F28E
analogous
#A98EF2 #DB8EF2 #F28ED7
triadic
#DB8EF2 #F2DB8E #8EF2DB
tetradic
#DB8EF2 #F2A98E #A5F28E #8ED7F2
square
#DB8EF2 #F2A98E #A5F28E #8ED7F2
split-complementary
#DB8EF2 #D7F28E #8EF2A9
monochromatic
#B820E5 #CA57EC #DB8EF2 #ECC5F8 #F6E4FC

Accessibility & contrast

On white

2.29
#DB8EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#DB8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8EF2
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8EF2#FFFFFF#000000##000000
##DB8EF21.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F6
Deuteranopia (green-blind)
#93AEEF
Tritanopia (blue-blind)
#DB9BB5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #db8ef2;
/* rgb */ color: rgb(219, 142, 242);
/* oklch */ color: oklch(76.0% 0.160 318.2);
Tailwind
colors: {
  custom: {
    50: '#e8b0f6',
    500: '#db8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #db8ef2;
$custom-light: #e8b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#db8ef2",
  "rgb": {
    "r": 219,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 286.2,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76031,
    "c": 0.1596,
    "h": 318.2
  },
  "luminance": 0.40817
}

Semantic roles & 50–950 ramp

primary
#DB8EF2
secondary
#DEF4D7
accent
#DC0A3A
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DB8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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