#D740DD#D740DD

#D740DD is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.9% C 0.251 H 326.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#D740DD
RGBrgb(215, 64, 221)
HSLhsl(298, 70%, 56%)
HSVhsv(298, 71%, 87%)
CMYKcmyk(2.7%, 71%, 0%, 13.3%)
CIE-LABlab(55.42, 75.73, -50.00)
CIE-LCHlch(55.42, 90.75, 326.56°)
OKLaboklab(64.86% 0.2085 -0.1389)
OKLCHoklch(64.86% 0.251 326.3)
XYZxyz(42.9081, 23.3372, 70.6371)
Luminance0.2333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740DD #46DD40
analogous
#8840DD #D740DD #DD4094
triadic
#D740DD #DDD740 #40DDD7
tetradic
#D740DD #DD8840 #46DD40 #4094DD
square
#D740DD #DD8840 #46DD40 #4094DD
split-complementary
#D740DD #94DD40 #40DD88
monochromatic
#86198A #B822BE #D740DD #E274E6 #EDA8EF

Accessibility & contrast

On white

3.71
#D740DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#D740DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740DD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740DD#FFFFFF#000000##000000
##D740DD1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1879E1
Deuteranopia (green-blind)
#658BD9
Tritanopia (blue-blind)
#DD5A8B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d740dd;
/* rgb */ color: rgb(215, 64, 221);
/* oklch */ color: oklch(64.9% 0.251 326.3);
Tailwind
colors: {
  custom: {
    50: '#e783e8',
    500: '#d740dd',
    950: '#000000',
  },
}
SCSS
$custom: #d740dd;
$custom-light: #e783e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d740dd",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 297.707,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64856,
    "c": 0.25053,
    "h": 326.3
  },
  "luminance": 0.23334
}

Semantic roles & 50–950 ramp

primary
#D740DD
secondary
#9EDD9C
accent
#ED3B42
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #D740DD

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

Preview Lab → · Contrast checker → · Palette generator →

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