#DD7EFC#DD7EFC

#DD7EFC is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.3% C 0.197 H 317.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#DD7EFC
RGBrgb(221, 126, 252)
HSLhsl(285, 95%, 74%)
HSVhsv(285, 50%, 99%)
CMYKcmyk(12.3%, 50%, 0%, 1.2%)
CIE-LABlab(67.52, 56.27, -48.04)
CIE-LCHlch(67.52, 73.99, 319.51°)
OKLaboklab(74.34% 0.1447 -0.1335)
OKLCHoklch(74.34% 0.197 317.3)
XYZxyz(54.8478, 37.3240, 96.3916)
Luminance0.3732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7EFC #9DFC7E
analogous
#9E7EFC #DD7EFC #FC7EDC
triadic
#DD7EFC #FCDD7E #7EFCDD
tetradic
#DD7EFC #FC9E7E #9DFC7E #7EDCFC
square
#DD7EFC #FC9E7E #9DFC7E #7EDCFC
split-complementary
#DD7EFC #DCFC7E #7EFC9E
monochromatic
#BD06F9 #CD42FB #DD7EFC #EDBAFD #F7E1FE

Accessibility & contrast

On white

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

On black

8.46
#DD7EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7EFC
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7EFC#FFFFFF#000000##000000
##DD7EFC1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#82A7F9
Tritanopia (blue-blind)
#DC91B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dd7efc;
/* rgb */ color: rgb(221, 126, 252);
/* oklch */ color: oklch(74.3% 0.197 317.3);
Tailwind
colors: {
  custom: {
    50: '#eaa6fe',
    500: '#dd7efc',
    950: '#000000',
  },
}
SCSS
$custom: #dd7efc;
$custom-light: #eaa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7efc",
  "rgb": {
    "r": 221,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 285.238,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74342,
    "c": 0.19682,
    "h": 317.3
  },
  "luminance": 0.37322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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