#D845DB#D845DB

#D845DB is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.3% C 0.244 H 327.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D845DB
RGBrgb(216, 69, 219)
HSLhsl(299, 68%, 56%)
HSVhsv(299, 68%, 86%)
CMYKcmyk(1.4%, 68.5%, 0%, 14.1%)
CIE-LABlab(56.06, 73.92, -47.84)
CIE-LCHlch(56.06, 88.05, 327.09°)
OKLaboklab(65.31% 0.2048 -0.1326)
OKLCHoklch(65.31% 0.244 327.1)
XYZxyz(43.2325, 23.9726, 69.3542)
Luminance0.2397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845DB #48DB45
analogous
#8D45DB #D845DB #DB4593
triadic
#D845DB #DBD845 #45DBD8
tetradic
#D845DB #DB8D45 #48DB45 #4593DB
square
#D845DB #DB8D45 #48DB45 #4593DB
split-complementary
#D845DB #93DB45 #45DB8D
monochromatic
#891B8B #BB25BE #D845DB #E378E5 #EEACEF

Accessibility & contrast

On white

3.62
#D845DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#D845DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845DB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845DB#FFFFFF#000000##000000
##D845DB1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADF
Deuteranopia (green-blind)
#698DD7
Tritanopia (blue-blind)
#DE5C8B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d845db;
/* rgb */ color: rgb(216, 69, 219);
/* oklch */ color: oklch(65.3% 0.244 327.1);
Tailwind
colors: {
  custom: {
    50: '#e885e7',
    500: '#d845db',
    950: '#000000',
  },
}
SCSS
$custom: #d845db;
$custom-light: #e885e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d845db",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 298.8,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.65312,
    "c": 0.244,
    "h": 327.1
  },
  "luminance": 0.2397
}

Semantic roles & 50–950 ramp

primary
#D845DB
secondary
#A0DD9F
accent
#EA3D41
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #D845DB

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

Preview Lab → · Contrast checker → · Palette generator →

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