#DF7FEB#DF7FEB

#DF7FEB is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.9% C 0.179 H 323.0°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#DF7FEB
RGBrgb(223, 127, 235)
HSLhsl(293, 73%, 71%)
HSVhsv(293, 46%, 92%)
CMYKcmyk(5.1%, 46%, 0%, 7.8%)
CIE-LABlab(67.18, 53.06, -39.22)
CIE-LCHlch(67.18, 65.98, 323.53°)
OKLaboklab(73.89% 0.1433 -0.108)
OKLCHoklch(73.89% 0.179 323)
XYZxyz(53.0147, 36.8672, 82.9047)
Luminance0.3686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FEB #8BEB7F
analogous
#A97FEB #DF7FEB #EB7FC1
triadic
#DF7FEB #EBDF7F #7FEBDF
tetradic
#DF7FEB #EBA97F #8BEB7F #7FC1EB
square
#DF7FEB #EBA97F #8BEB7F #7FC1EB
split-complementary
#DF7FEB #C1EB7F #7FEBA9
monochromatic
#BC20CF #D24AE3 #DF7FEB #ECB4F3 #F8E5FB

Accessibility & contrast

On white

2.51
#DF7FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#DF7FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FEB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FEB#FFFFFF#000000##000000
##DF7FEB1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#8DA7E8
Tritanopia (blue-blind)
#E28CAA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7feb;
/* rgb */ color: rgb(223, 127, 235);
/* oklch */ color: oklch(73.9% 0.179 323.0);
Tailwind
colors: {
  custom: {
    50: '#eba7f2',
    500: '#df7feb',
    950: '#000000',
  },
}
SCSS
$custom: #df7feb;
$custom-light: #eba7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#df7feb",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 293.333,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73888,
    "c": 0.17939,
    "h": 323
  },
  "luminance": 0.36865
}

Semantic roles & 50–950 ramp

primary
#DF7FEB
secondary
#D8F1D5
accent
#D51026
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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