#DB9AF2#DB9AF2

#DB9AF2 is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.0% C 0.139 H 317.0°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#DB9AF2
RGBrgb(219, 154, 242)
HSLhsl(284, 77%, 78%)
HSVhsv(284, 36%, 95%)
CMYKcmyk(9.5%, 36.4%, 0%, 5.1%)
CIE-LABlab(72.62, 39.17, -34.63)
CIE-LCHlch(72.62, 52.28, 318.52°)
OKLaboklab(77.96% 0.1018 -0.0951)
OKLCHoklch(77.96% 0.139 317)
XYZxyz(56.7937, 44.5835, 89.6009)
Luminance0.4458 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9AF2 #B1F29A
analogous
#AF9AF2 #DB9AF2 #F29ADD
triadic
#DB9AF2 #F2DB9A #9AF2DB
tetradic
#DB9AF2 #F2AF9A #B1F29A #9ADDF2
square
#DB9AF2 #F2AF9A #B1F29A #9ADDF2
split-complementary
#DB9AF2 #DDF29A #9AF2AF
monochromatic
#B42EE4 #C864EB #DB9AF2 #EED0F9 #F5E4FC

Accessibility & contrast

On white

2.12
#DB9AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#DB9AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9AF2
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9AF2#FFFFFF#000000##000000
##DB9AF21.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAEF5
Deuteranopia (green-blind)
#9DB4EF
Tritanopia (blue-blind)
#DBA5BB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #db9af2;
/* rgb */ color: rgb(219, 154, 242);
/* oklch */ color: oklch(78.0% 0.139 317.0);
Tailwind
colors: {
  custom: {
    50: '#e7b8f6',
    500: '#db9af2',
    950: '#000000',
  },
}
SCSS
$custom: #db9af2;
$custom-light: #e7b8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#db9af2",
  "rgb": {
    "r": 219,
    "g": 154,
    "b": 242
  },
  "hsl": {
    "h": 284.318,
    "s": 77.193,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77965,
    "c": 0.13932,
    "h": 317
  },
  "luminance": 0.44582
}

Semantic roles & 50–950 ramp

primary
#DB9AF2
secondary
#DFF3D8
accent
#D90C42
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DB9AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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