#DD7EF2#DD7EF2

#DD7EF2 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.8% C 0.187 H 320.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#DD7EF2
RGBrgb(221, 126, 242)
HSLhsl(289, 82%, 72%)
HSVhsv(289, 48%, 95%)
CMYKcmyk(8.7%, 47.9%, 0%, 5.1%)
CIE-LABlab(67.06, 54.33, -43.28)
CIE-LCHlch(67.06, 69.46, 321.46°)
OKLaboklab(73.85% 0.1434 -0.1197)
OKLCHoklch(73.85% 0.187 320.2)
XYZxyz(53.3047, 36.7067, 88.2644)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7EF2 #93F27E
analogous
#A37EF2 #DD7EF2 #F27ECD
triadic
#DD7EF2 #F2DD7E #7EF2DD
tetradic
#DD7EF2 #F2A37E #93F27E #7ECDF2
square
#DD7EF2 #F2A37E #93F27E #7ECDF2
split-complementary
#DD7EF2 #CDF27E #7EF2A3
monochromatic
#BB16DF #CE46EC #DD7EF2 #ECB6F8 #F8E3FC

Accessibility & contrast

On white

2.52
#DD7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#DD7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7EF2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7EF2#FFFFFF#000000##000000
##DD7EF21.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF6
Deuteranopia (green-blind)
#87A7EF
Tritanopia (blue-blind)
#DE8EAD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dd7ef2;
/* rgb */ color: rgb(221, 126, 242);
/* oklch */ color: oklch(73.8% 0.187 320.2);
Tailwind
colors: {
  custom: {
    50: '#eaa6f7',
    500: '#dd7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #dd7ef2;
$custom-light: #eaa6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7ef2",
  "rgb": {
    "r": 221,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 289.138,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73848,
    "c": 0.1868,
    "h": 320.2
  },
  "luminance": 0.36705
}

Semantic roles & 50–950 ramp

primary
#DD7EF2
secondary
#DCF4D7
accent
#DE072E
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DD7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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