#DF7AEB#DF7AEB

#DF7AEB is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.2% C 0.187 H 323.2°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#DF7AEB
RGBrgb(223, 122, 235)
HSLhsl(294, 74%, 70%)
HSVhsv(294, 48%, 92%)
CMYKcmyk(5.1%, 48.1%, 0%, 7.8%)
CIE-LABlab(66.22, 55.55, -40.72)
CIE-LCHlch(66.22, 68.88, 323.76°)
OKLaboklab(73.18% 0.1501 -0.1122)
OKLCHoklch(73.18% 0.187 323.2)
XYZxyz(52.3849, 35.6076, 82.6948)
Luminance0.3560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7AEB #86EB7A
analogous
#A67AEB #DF7AEB #EB7ABF
triadic
#DF7AEB #EBDF7A #7AEBDF
tetradic
#DF7AEB #EBA67A #86EB7A #7ABFEB
square
#DF7AEB #EBA67A #86EB7A #7ABFEB
split-complementary
#DF7AEB #BFEB7A #7AEBA6
monochromatic
#BA1FCC #D245E3 #DF7AEB #ECAFF3 #F9E4FB

Accessibility & contrast

On white

2.59
#DF7AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#DF7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7AEB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7AEB#FFFFFF#000000##000000
##DF7AEB1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#E288A8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #df7aeb;
/* rgb */ color: rgb(223, 122, 235);
/* oklch */ color: oklch(73.2% 0.187 323.2);
Tailwind
colors: {
  custom: {
    50: '#eba4f2',
    500: '#df7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #df7aeb;
$custom-light: #eba4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#df7aeb",
  "rgb": {
    "r": 223,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 293.628,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.73177,
    "c": 0.18744,
    "h": 323.2
  },
  "luminance": 0.35605
}

Semantic roles & 50–950 ramp

primary
#DF7AEB
secondary
#D4F0D1
accent
#D61025
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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