#DF7BEF#DF7BEF

#DF7BEF is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.5% C 0.190 H 321.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#DF7BEF
RGBrgb(223, 123, 239)
HSLhsl(292, 78%, 71%)
HSVhsv(292, 49%, 94%)
CMYKcmyk(6.7%, 48.5%, 0%, 6.3%)
CIE-LABlab(66.59, 55.80, -42.35)
CIE-LCHlch(66.59, 70.05, 322.81°)
OKLaboklab(73.51% 0.1494 -0.1169)
OKLCHoklch(73.51% 0.19 321.9)
XYZxyz(53.0927, 36.0882, 85.8137)
Luminance0.3609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7BEF #8BEF7B
analogous
#A57BEF #DF7BEF #EF7BC5
triadic
#DF7BEF #EFDF7B #7BEFDF
tetradic
#DF7BEF #EFA57B #8BEF7B #7BC5EF
square
#DF7BEF #EFA57B #8BEF7B #7BC5EF
split-complementary
#DF7BEF #C5EF7B #7BEFA5
monochromatic
#BC1AD6 #D244E8 #DF7BEF #ECB2F6 #F8E4FC

Accessibility & contrast

On white

2.56
#DF7BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#DF7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7BEF
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7BEF#FFFFFF#000000##000000
##DF7BEF1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#E28AAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #df7bef;
/* rgb */ color: rgb(223, 123, 239);
/* oklch */ color: oklch(73.5% 0.190 321.9);
Tailwind
colors: {
  custom: {
    50: '#eba4f4',
    500: '#df7bef',
    950: '#000000',
  },
}
SCSS
$custom: #df7bef;
$custom-light: #eba4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#df7bef",
  "rgb": {
    "r": 223,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 291.724,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73508,
    "c": 0.18968,
    "h": 321.9
  },
  "luminance": 0.36086
}

Semantic roles & 50–950 ramp

primary
#DF7BEF
secondary
#D8F2D3
accent
#DB0B28
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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