#DB8FF2#DB8FF2

#DB8FF2 is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.2% C 0.158 H 318.1°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#DB8FF2
RGBrgb(219, 143, 242)
HSLhsl(286, 79%, 75%)
HSVhsv(286, 41%, 95%)
CMYKcmyk(9.5%, 40.9%, 0%, 5.1%)
CIE-LABlab(70.26, 45.01, -38.29)
CIE-LCHlch(70.26, 59.09, 319.61°)
OKLaboklab(76.19% 0.1175 -0.1055)
OKLCHoklch(76.19% 0.158 318.1)
XYZxyz(55.0607, 41.1174, 89.0232)
Luminance0.4112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8FF2 #A6F28F
analogous
#A98FF2 #DB8FF2 #F28FD7
triadic
#DB8FF2 #F2DB8F #8FF2DB
tetradic
#DB8FF2 #F2A98F #A6F28F #8FD7F2
square
#DB8FF2 #F2A98F #A6F28F #8FD7F2
split-complementary
#DB8FF2 #D7F28F #8FF2A9
monochromatic
#B821E5 #C958EC #DB8FF2 #EDC6F8 #F6E4FC

Accessibility & contrast

On white

2.28
#DB8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#DB8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8FF2
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8FF2#FFFFFF#000000##000000
##DB8FF21.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F6
Deuteranopia (green-blind)
#94AEEF
Tritanopia (blue-blind)
#DB9CB5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #db8ff2;
/* rgb */ color: rgb(219, 143, 242);
/* oklch */ color: oklch(76.2% 0.158 318.1);
Tailwind
colors: {
  custom: {
    50: '#e7b1f6',
    500: '#db8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #db8ff2;
$custom-light: #e7b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#db8ff2",
  "rgb": {
    "r": 219,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 286.061,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76188,
    "c": 0.15792,
    "h": 318.1
  },
  "luminance": 0.41116
}

Semantic roles & 50–950 ramp

primary
#DB8FF2
secondary
#DEF4D7
accent
#DB0A3B
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DB8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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