#DF7BE2#DF7BE2

#DF7BE2 is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.9% C 0.177 H 326.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#DF7BE2
RGBrgb(223, 123, 226)
HSLhsl(298, 64%, 68%)
HSVhsv(298, 46%, 89%)
CMYKcmyk(1.3%, 45.6%, 0%, 11.4%)
CIE-LABlab(66.02, 53.41, -36.05)
CIE-LCHlch(66.02, 64.44, 325.98°)
OKLaboklab(72.9% 0.1473 -0.0988)
OKLCHoklch(72.9% 0.177 326.1)
XYZxyz(51.2408, 35.3474, 76.0605)
Luminance0.3534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7BE2 #7EE27B
analogous
#AB7BE2 #DF7BE2 #E27BB1
triadic
#DF7BE2 #E2DF7B #7BE2DF
tetradic
#DF7BE2 #E2AB7B #7EE27B #7BB1E2
square
#DF7BE2 #E2AB7B #7EE27B #7BB1E2
split-complementary
#DF7BE2 #B1E27B #7BE2AB
monochromatic
#B629BA #D349D7 #DF7BE2 #EBADED #F7DFF8

Accessibility & contrast

On white

2.60
#DF7BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#DF7BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7BE2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7BE2#FFFFFF#000000##000000
##DF7BE21.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7198E6
Deuteranopia (green-blind)
#8DA5DF
Tritanopia (blue-blind)
#E486A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #df7be2;
/* rgb */ color: rgb(223, 123, 226);
/* oklch */ color: oklch(72.9% 0.177 326.1);
Tailwind
colors: {
  custom: {
    50: '#eba4eb',
    500: '#df7be2',
    950: '#000000',
  },
}
SCSS
$custom: #df7be2;
$custom-light: #eba4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#df7be2",
  "rgb": {
    "r": 223,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 298.252,
    "s": 63.975,
    "l": 68.431
  },
  "oklch": {
    "l": 0.729,
    "c": 0.1774,
    "h": 326.1
  },
  "luminance": 0.35345
}

Semantic roles & 50–950 ramp

primary
#DF7BE2
secondary
#CEECCD
accent
#CC1A1F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DF7BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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