#DB95EB#DB95EB

#DB95EB is a light, vivid purple. Relative luminance 0.426; OKLCH L 76.8% C 0.140 H 320.0°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#DB95EB
RGBrgb(219, 149, 235)
HSLhsl(289, 68%, 75%)
HSVhsv(289, 37%, 92%)
CMYKcmyk(6.8%, 36.6%, 0%, 7.8%)
CIE-LABlab(71.25, 40.46, -32.92)
CIE-LCHlch(71.25, 52.16, 320.86°)
OKLaboklab(76.84% 0.1075 -0.0902)
OKLCHoklch(76.84% 0.14 320)
XYZxyz(54.9543, 42.5548, 83.9002)
Luminance0.4255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB95EB #A5EB95
analogous
#B095EB #DB95EB #EB95D0
triadic
#DB95EB #EBDB95 #95EBDB
tetradic
#DB95EB #EBB095 #A5EB95 #95D0EB
square
#DB95EB #EBB095 #A5EB95 #95D0EB
split-complementary
#DB95EB #D0EB95 #95EBB0
monochromatic
#B82ED8 #CA62E1 #DB95EB #ECC8F5 #F6E5FA

Accessibility & contrast

On white

2.21
#DB95EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#DB95EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB95EB
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB95EB#FFFFFF#000000##000000
##DB95EB1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEE
Deuteranopia (green-blind)
#9BB1E8
Tritanopia (blue-blind)
#DC9FB5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #db95eb;
/* rgb */ color: rgb(219, 149, 235);
/* oklch */ color: oklch(76.8% 0.140 320.0);
Tailwind
colors: {
  custom: {
    50: '#e7b5f1',
    500: '#db95eb',
    950: '#000000',
  },
}
SCSS
$custom: #db95eb;
$custom-light: #e7b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#db95eb",
  "rgb": {
    "r": 219,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 288.837,
    "s": 68.254,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76842,
    "c": 0.14029,
    "h": 320
  },
  "luminance": 0.42553
}

Semantic roles & 50–950 ramp

primary
#DB95EB
secondary
#DEF2D9
accent
#D01538
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB95EB

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

Preview Lab → · Contrast checker → · Palette generator →

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