#DB8EFC#DB8EFC

#DB8EFC is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.5% C 0.170 H 315.1°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#DB8EFC
RGBrgb(219, 142, 252)
HSLhsl(282, 95%, 77%)
HSVhsv(282, 44%, 99%)
CMYKcmyk(13.1%, 43.7%, 0%, 1.2%)
CIE-LABlab(70.48, 47.54, -43.41)
CIE-LCHlch(70.48, 64.37, 317.60°)
OKLaboklab(76.5% 0.1207 -0.1202)
OKLCHoklch(76.5% 0.17 315.1)
XYZxyz(56.4544, 41.4358, 97.1006)
Luminance0.4143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8EFC #AFFC8E
analogous
#A48EFC #DB8EFC #FC8EE6
triadic
#DB8EFC #FCDB8E #8EFCDB
tetradic
#DB8EFC #FCA48E #AFFC8E #8EE6FC
square
#DB8EFC #FCA48E #AFFC8E #8EE6FC
split-complementary
#DB8EFC #E6FC8E #8EFCA4
monochromatic
#B517F9 #C852FA #DB8EFC #EECAFE #F6E1FE

Accessibility & contrast

On white

2.26
#DB8EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#DB8EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8EFC
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8EFC#FFFFFF#000000##000000
##DB8EFC1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#8EAFF9
Tritanopia (blue-blind)
#D99EB9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #db8efc;
/* rgb */ color: rgb(219, 142, 252);
/* oklch */ color: oklch(76.5% 0.170 315.1);
Tailwind
colors: {
  custom: {
    50: '#e8b1fe',
    500: '#db8efc',
    950: '#000000',
  },
}
SCSS
$custom: #db8efc;
$custom-light: #e8b1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db8efc",
  "rgb": {
    "r": 219,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 282,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76495,
    "c": 0.17032,
    "h": 315.1
  },
  "luminance": 0.41434
}

Semantic roles & 50–950 ramp

primary
#DB8EFC
secondary
#DFF6D5
accent
#E60045
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DB8EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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