#DB95F8#DB95F8

#DB95F8 is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.4% C 0.154 H 315.5°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#DB95F8
RGBrgb(219, 149, 248)
HSLhsl(282, 88%, 78%)
HSVhsv(282, 40%, 97%)
CMYKcmyk(11.7%, 39.9%, 0%, 2.7%)
CIE-LABlab(71.78, 43.04, -39.20)
CIE-LCHlch(71.78, 58.21, 317.67°)
OKLaboklab(77.42% 0.1102 -0.1081)
OKLCHoklch(77.42% 0.154 315.5)
XYZxyz(56.9016, 43.3337, 94.1555)
Luminance0.4333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB95F8 #B2F895
analogous
#A995F8 #DB95F8 #F895E4
triadic
#DB95F8 #F8DB95 #95F8DB
tetradic
#DB95F8 #F8A995 #B2F895 #95E4F8
square
#DB95F8 #F8A995 #B2F895 #95E4F8
split-complementary
#DB95F8 #E4F895 #95F8A9
monochromatic
#B422F0 #C85CF4 #DB95F8 #EECEFC #F5E2FD

Accessibility & contrast

On white

2.17
#DB95F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#DB95F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB95F8
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB95F8#FFFFFF#000000##000000
##DB95F81.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFC
Deuteranopia (green-blind)
#96B2F5
Tritanopia (blue-blind)
#DAA2BB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #db95f8;
/* rgb */ color: rgb(219, 149, 248);
/* oklch */ color: oklch(77.4% 0.154 315.5);
Tailwind
colors: {
  custom: {
    50: '#e7b5fb',
    500: '#db95f8',
    950: '#000000',
  },
}
SCSS
$custom: #db95f8;
$custom-light: #e7b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db95f8",
  "rgb": {
    "r": 219,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 282.424,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.77415,
    "c": 0.15438,
    "h": 315.5
  },
  "luminance": 0.43332
}

Semantic roles & 50–950 ramp

primary
#DB95F8
secondary
#DFF5D6
accent
#E40144
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DB95F8

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

Preview Lab → · Contrast checker → · Palette generator →

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