#DF7BF8#DF7BF8

#DF7BF8 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.9% C 0.198 H 319.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#DF7BF8
RGBrgb(223, 123, 248)
HSLhsl(288, 90%, 73%)
HSVhsv(288, 50%, 97%)
CMYKcmyk(10.1%, 50.4%, 0%, 2.7%)
CIE-LABlab(67.00, 57.51, -46.65)
CIE-LCHlch(67.00, 74.05, 320.95°)
OKLaboklab(73.95% 0.1505 -0.1293)
OKLCHoklch(73.95% 0.198 319.3)
XYZxyz(54.4555, 36.6333, 92.9912)
Luminance0.3663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7BF8 #94F87B
analogous
#A07BF8 #DF7BF8 #F87BD2
triadic
#DF7BF8 #F8DF7B #7BF8DF
tetradic
#DF7BF8 #F8A07B #94F87B #7BD2F8
square
#DF7BF8 #F8A07B #94F87B #7BD2F8
split-complementary
#DF7BF8 #D2F87B #7BF8A0
monochromatic
#BF0DEC #D141F5 #DF7BF8 #EDB5FB #F8E2FD

Accessibility & contrast

On white

2.52
#DF7BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#DF7BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7BF8
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7BF8#FFFFFF#000000##000000
##DF7BF81.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#83A7F5
Tritanopia (blue-blind)
#E08DAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7bf8;
/* rgb */ color: rgb(223, 123, 248);
/* oklch */ color: oklch(73.9% 0.198 319.3);
Tailwind
colors: {
  custom: {
    50: '#eba4fb',
    500: '#df7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #df7bf8;
$custom-light: #eba4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#df7bf8",
  "rgb": {
    "r": 223,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 288,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73949,
    "c": 0.19844,
    "h": 319.3
  },
  "luminance": 0.36631
}

Semantic roles & 50–950 ramp

primary
#DF7BF8
secondary
#DCF6D5
accent
#E6002E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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