#DD7FEF#DD7FEF

#DD7FEF is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.8% C 0.182 H 321.0°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#DD7FEF
RGBrgb(221, 127, 239)
HSLhsl(290, 78%, 72%)
HSVhsv(290, 47%, 94%)
CMYKcmyk(7.5%, 46.9%, 0%, 6.3%)
CIE-LABlab(67.12, 53.25, -41.54)
CIE-LCHlch(67.12, 67.54, 322.04°)
OKLaboklab(73.85% 0.1416 -0.1147)
OKLCHoklch(73.85% 0.182 321)
XYZxyz(52.9863, 36.7850, 85.9538)
Luminance0.3678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7FEF #91EF7F
analogous
#A57FEF #DD7FEF #EF7FC9
triadic
#DD7FEF #EFDD7F #7FEFDD
tetradic
#DD7FEF #EFA57F #91EF7F #7FC9EF
square
#DD7FEF #EFA57F #91EF7F #7FC9EF
split-complementary
#DD7FEF #C9EF7F #7FEFA5
monochromatic
#BA1BD9 #CF49E8 #DD7FEF #EBB5F6 #F8E4FC

Accessibility & contrast

On white

2.51
#DD7FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#DD7FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7FEF
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7FEF#FFFFFF#000000##000000
##DD7FEF1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9DF3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#DF8DAC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dd7fef;
/* rgb */ color: rgb(221, 127, 239);
/* oklch */ color: oklch(73.8% 0.182 321.0);
Tailwind
colors: {
  custom: {
    50: '#e9a7f4',
    500: '#dd7fef',
    950: '#000000',
  },
}
SCSS
$custom: #dd7fef;
$custom-light: #e9a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7fef",
  "rgb": {
    "r": 221,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 290.357,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73848,
    "c": 0.18222,
    "h": 321
  },
  "luminance": 0.36783
}

Semantic roles & 50–950 ramp

primary
#DD7FEF
secondary
#DBF3D7
accent
#DA0B2D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DD7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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