#DF7BEB#DF7BEB

#DF7BEB is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.3% C 0.186 H 323.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#DF7BEB
RGBrgb(223, 123, 235)
HSLhsl(294, 74%, 70%)
HSVhsv(294, 48%, 92%)
CMYKcmyk(5.1%, 47.7%, 0%, 7.8%)
CIE-LABlab(66.41, 55.06, -40.42)
CIE-LCHlch(66.41, 68.30, 323.72°)
OKLaboklab(73.32% 0.1488 -0.1114)
OKLCHoklch(73.32% 0.186 323.2)
XYZxyz(52.5083, 35.8544, 82.7359)
Luminance0.3585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7BEB #87EB7B
analogous
#A77BEB #DF7BEB #EB7BBF
triadic
#DF7BEB #EBDF7B #7BEBDF
tetradic
#DF7BEB #EBA77B #87EB7B #7BBFEB
square
#DF7BEB #EBA77B #87EB7B #7BBFEB
split-complementary
#DF7BEB #BFEB7B #7BEBA7
monochromatic
#BA1FCD #D246E3 #DF7BEB #ECB0F3 #F9E4FB

Accessibility & contrast

On white

2.57
#DF7BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#DF7BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7BEB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7BEB#FFFFFF#000000##000000
##DF7BEB1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#89A6E8
Tritanopia (blue-blind)
#E289A8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #df7beb;
/* rgb */ color: rgb(223, 123, 235);
/* oklch */ color: oklch(73.3% 0.186 323.2);
Tailwind
colors: {
  custom: {
    50: '#eba4f2',
    500: '#df7beb',
    950: '#000000',
  },
}
SCSS
$custom: #df7beb;
$custom-light: #eba4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#df7beb",
  "rgb": {
    "r": 223,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 293.571,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73317,
    "c": 0.18585,
    "h": 323.2
  },
  "luminance": 0.35852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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