#DB95F2#DB95F2

#DB95F2 is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.1% C 0.148 H 317.5°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#DB95F2
RGBrgb(219, 149, 242)
HSLhsl(285, 78%, 77%)
HSVhsv(285, 38%, 95%)
CMYKcmyk(9.5%, 38.4%, 0%, 5.1%)
CIE-LABlab(71.53, 41.83, -36.31)
CIE-LCHlch(71.53, 55.40, 319.04°)
OKLaboklab(77.15% 0.109 -0.0999)
OKLCHoklch(77.15% 0.148 317.5)
XYZxyz(55.9856, 42.9673, 89.3315)
Luminance0.4297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB95F2 #ACF295
analogous
#AD95F2 #DB95F2 #F295DB
triadic
#DB95F2 #F2DB95 #95F2DB
tetradic
#DB95F2 #F2AD95 #ACF295 #95DBF2
square
#DB95F2 #F2AD95 #ACF295 #95DBF2
split-complementary
#DB95F2 #DBF295 #95F2AD
monochromatic
#B628E5 #C85EEB #DB95F2 #EECCF9 #F6E4FC

Accessibility & contrast

On white

2.19
#DB95F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#DB95F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB95F2
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB95F2#FFFFFF#000000##000000
##DB95F21.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ABF5
Deuteranopia (green-blind)
#99B2EF
Tritanopia (blue-blind)
#DBA1B8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #db95f2;
/* rgb */ color: rgb(219, 149, 242);
/* oklch */ color: oklch(77.1% 0.148 317.5);
Tailwind
colors: {
  custom: {
    50: '#e7b5f6',
    500: '#db95f2',
    950: '#000000',
  },
}
SCSS
$custom: #db95f2;
$custom-light: #e7b5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#db95f2",
  "rgb": {
    "r": 219,
    "g": 149,
    "b": 242
  },
  "hsl": {
    "h": 285.161,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77146,
    "c": 0.14781,
    "h": 317.5
  },
  "luminance": 0.42966
}

Semantic roles & 50–950 ramp

primary
#DB95F2
secondary
#DEF3D8
accent
#DA0B3E
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DB95F2

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

Preview Lab → · Contrast checker → · Palette generator →

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