#DD7EFB#DD7EFB

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

Color values

HEX#DD7EFB
RGBrgb(221, 126, 251)
HSLhsl(286, 94%, 74%)
HSVhsv(286, 50%, 98%)
CMYKcmyk(12%, 49.8%, 0%, 1.6%)
CIE-LABlab(67.47, 56.08, -47.57)
CIE-LCHlch(67.47, 73.53, 319.69°)
OKLaboklab(74.29% 0.1446 -0.1321)
OKLCHoklch(74.29% 0.196 317.6)
XYZxyz(54.6898, 37.2608, 95.5593)
Luminance0.3726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD7EFB #9CFB7E
analogous
#9F7EFB #DD7EFB #FB7EDB
triadic
#DD7EFB #FBDD7E #7EFBDD
tetradic
#DD7EFB #FB9F7E #9CFB7E #7EDBFB
square
#DD7EFB #FB9F7E #9CFB7E #7EDBFB
split-complementary
#DD7EFB #DBFB7E #7EFB9F
monochromatic
#BE08F7 #CD43F9 #DD7EFB #EDB9FD #F7E1FE

Accessibility & contrast

On white

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

On black

8.45
#DD7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD7EFB
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD7EFB#FFFFFF#000000##000000
##DD7EFB1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#83A7F8
Tritanopia (blue-blind)
#DC90B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dd7efb;
/* rgb */ color: rgb(221, 126, 251);
/* oklch */ color: oklch(74.3% 0.196 317.6);
Tailwind
colors: {
  custom: {
    50: '#eaa6fd',
    500: '#dd7efb',
    950: '#000000',
  },
}
SCSS
$custom: #dd7efb;
$custom-light: #eaa6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dd7efb",
  "rgb": {
    "r": 221,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 285.6,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74292,
    "c": 0.19581,
    "h": 317.6
  },
  "luminance": 0.37259
}

Semantic roles & 50–950 ramp

primary
#DD7EFB
secondary
#DDF6D5
accent
#E60037
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DD7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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