#D74DDB#D74DDB

#D74DDB is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.9% C 0.234 H 326.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D74DDB
RGBrgb(215, 77, 219)
HSLhsl(298, 66%, 58%)
HSVhsv(298, 65%, 86%)
CMYKcmyk(1.8%, 64.8%, 0%, 14.1%)
CIE-LABlab(56.95, 70.77, -46.44)
CIE-LCHlch(56.95, 84.64, 326.73°)
OKLaboklab(65.92% 0.1955 -0.1286)
OKLCHoklch(65.92% 0.234 326.7)
XYZxyz(43.4636, 24.8721, 69.5156)
Luminance0.2487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74DDB #51DB4D
analogous
#904DDB #D74DDB #DB4D98
triadic
#D74DDB #DBD74D #4DDBD7
tetradic
#D74DDB #DB904D #51DB4D #4D98DB
square
#D74DDB #DB904D #51DB4D #4D98DB
split-complementary
#D74DDB #98DB4D #4DDB90
monochromatic
#8D1D90 #BF27C3 #D74DDB #E280E5 #EEB3F0

Accessibility & contrast

On white

3.52
#D74DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D74DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74DDB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74DDB#FFFFFF#000000##000000
##D74DDB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#367DDF
Deuteranopia (green-blind)
#6D8FD7
Tritanopia (blue-blind)
#DD618E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d74ddb;
/* rgb */ color: rgb(215, 77, 219);
/* oklch */ color: oklch(65.9% 0.234 326.7);
Tailwind
colors: {
  custom: {
    50: '#e789e7',
    500: '#d74ddb',
    950: '#000000',
  },
}
SCSS
$custom: #d74ddb;
$custom-light: #e789e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d74ddb",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 298.31,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65923,
    "c": 0.23404,
    "h": 326.7
  },
  "luminance": 0.24869
}

Semantic roles & 50–950 ramp

primary
#D74DDB
secondary
#A7DEA6
accent
#E93F43
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D74DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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