#DD7EFD#DD7EFD

#DD7EFD is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.4% C 0.198 H 317.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#DD7EFD
RGBrgb(221, 126, 253)
HSLhsl(285, 97%, 74%)
HSVhsv(285, 50%, 99%)
CMYKcmyk(12.6%, 50.2%, 0%, 0.8%)
CIE-LABlab(67.57, 56.47, -48.51)
CIE-LCHlch(67.57, 74.45, 319.34°)
OKLaboklab(74.39% 0.1448 -0.1348)
OKLCHoklch(74.39% 0.198 317)
XYZxyz(55.0067, 37.3875, 97.2284)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7EFD #9EFD7E
analogous
#9E7EFD #DD7EFD #FD7EDE
triadic
#DD7EFD #FDDD7E #7EFDDD
tetradic
#DD7EFD #FD9E7E #9EFD7E #7EDEFD
square
#DD7EFD #FD9E7E #9EFD7E #7EDEFD
split-complementary
#DD7EFD #DEFD7E #7EFD9E
monochromatic
#BD05FB #CD42FC #DD7EFD #EDBAFE #F7E1FF

Accessibility & contrast

On white

2.48
#DD7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#DD7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7EFD
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7EFD#FFFFFF#000000##000000
##DD7EFD1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#81A8FA
Tritanopia (blue-blind)
#DC91B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #dd7efd;
/* rgb */ color: rgb(221, 126, 253);
/* oklch */ color: oklch(74.4% 0.198 317.0);
Tailwind
colors: {
  custom: {
    50: '#eaa6fe',
    500: '#dd7efd',
    950: '#000000',
  },
}
SCSS
$custom: #dd7efd;
$custom-light: #eaa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7efd",
  "rgb": {
    "r": 221,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 284.882,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74393,
    "c": 0.19783,
    "h": 317
  },
  "luminance": 0.37386
}

Semantic roles & 50–950 ramp

primary
#DD7EFD
secondary
#DDF7D4
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DD7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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