#DB95EC#DB95EC

#DB95EC is a light, vivid purple. Relative luminance 0.426; OKLCH L 76.9% C 0.141 H 319.6°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#DB95EC
RGBrgb(219, 149, 236)
HSLhsl(288, 70%, 75%)
HSVhsv(288, 37%, 93%)
CMYKcmyk(7.2%, 36.9%, 0%, 7.5%)
CIE-LABlab(71.29, 40.65, -33.41)
CIE-LCHlch(71.29, 52.62, 320.58°)
OKLaboklab(76.89% 0.1077 -0.0916)
OKLCHoklch(76.89% 0.141 319.6)
XYZxyz(55.0992, 42.6127, 84.6632)
Luminance0.4261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB95EC #A6EC95
analogous
#AF95EC #DB95EC #EC95D1
triadic
#DB95EC #ECDB95 #95ECDB
tetradic
#DB95EC #ECAF95 #A6EC95 #95D1EC
square
#DB95EC #ECAF95 #A6EC95 #95D1EC
split-complementary
#DB95EC #D1EC95 #95ECAF
monochromatic
#B82DD9 #C961E3 #DB95EC #EDC9F5 #F6E5FA

Accessibility & contrast

On white

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

On black

9.52
#DB95EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB95EC
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB95EC#FFFFFF#000000##000000
##DB95EC1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#9BB1E9
Tritanopia (blue-blind)
#DC9FB6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #db95ec;
/* rgb */ color: rgb(219, 149, 236);
/* oklch */ color: oklch(76.9% 0.141 319.6);
Tailwind
colors: {
  custom: {
    50: '#e7b5f2',
    500: '#db95ec',
    950: '#000000',
  },
}
SCSS
$custom: #db95ec;
$custom-light: #e7b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db95ec",
  "rgb": {
    "r": 219,
    "g": 149,
    "b": 236
  },
  "hsl": {
    "h": 288.276,
    "s": 69.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76885,
    "c": 0.14136,
    "h": 319.6
  },
  "luminance": 0.42611
}

Semantic roles & 50–950 ramp

primary
#DB95EC
secondary
#DEF2D9
accent
#D21439
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB95EC

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

Preview Lab → · Contrast checker → · Palette generator →

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