#DB94F2#DB94F2

#DB94F2 is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.0% C 0.150 H 317.6°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#DB94F2
RGBrgb(219, 148, 242)
HSLhsl(285, 78%, 76%)
HSVhsv(285, 39%, 95%)
CMYKcmyk(9.5%, 38.8%, 0%, 5.1%)
CIE-LABlab(71.32, 42.37, -36.65)
CIE-LCHlch(71.32, 56.02, 319.14°)
OKLaboklab(76.99% 0.1104 -0.1008)
OKLCHoklch(76.99% 0.15 317.6)
XYZxyz(55.8281, 42.6522, 89.2790)
Luminance0.4265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB94F2 #ABF294
analogous
#AC94F2 #DB94F2 #F294DA
triadic
#DB94F2 #F2DB94 #94F2DB
tetradic
#DB94F2 #F2AC94 #ABF294 #94DAF2
square
#DB94F2 #F2AC94 #ABF294 #94DAF2
split-complementary
#DB94F2 #DAF294 #94F2AC
monochromatic
#B627E5 #C95DEB #DB94F2 #EDCBF9 #F6E4FC

Accessibility & contrast

On white

2.20
#DB94F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#DB94F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB94F2
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB94F2#FFFFFF#000000##000000
##DB94F21.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF5
Deuteranopia (green-blind)
#98B1EF
Tritanopia (blue-blind)
#DBA0B8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #db94f2;
/* rgb */ color: rgb(219, 148, 242);
/* oklch */ color: oklch(77.0% 0.150 317.6);
Tailwind
colors: {
  custom: {
    50: '#e7b4f6',
    500: '#db94f2',
    950: '#000000',
  },
}
SCSS
$custom: #db94f2;
$custom-light: #e7b4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#db94f2",
  "rgb": {
    "r": 219,
    "g": 148,
    "b": 242
  },
  "hsl": {
    "h": 285.319,
    "s": 78.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76985,
    "c": 0.14951,
    "h": 317.6
  },
  "luminance": 0.42651
}

Semantic roles & 50–950 ramp

primary
#DB94F2
secondary
#DEF3D8
accent
#DB0B3E
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DB94F2

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

Preview Lab → · Contrast checker → · Palette generator →

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