#DF7BF2#DF7BF2

#DF7BF2 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.7% C 0.193 H 321.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#DF7BF2
RGBrgb(223, 123, 242)
HSLhsl(290, 82%, 72%)
HSVhsv(290, 49%, 95%)
CMYKcmyk(7.9%, 49.2%, 0%, 5.1%)
CIE-LABlab(66.72, 56.37, -43.79)
CIE-LCHlch(66.72, 71.38, 322.16°)
OKLaboklab(73.65% 0.1498 -0.1211)
OKLCHoklch(73.65% 0.193 321)
XYZxyz(53.5395, 36.2669, 88.1672)
Luminance0.3626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7BF2 #8EF27B
analogous
#A47BF2 #DF7BF2 #F27BCA
triadic
#DF7BF2 #F2DF7B #7BF2DF
tetradic
#DF7BF2 #F2A47B #8EF27B #7BCAF2
square
#DF7BF2 #F2A47B #8EF27B #7BCAF2
split-complementary
#DF7BF2 #CAF27B #7BF2A4
monochromatic
#BD16DD #D143ED #DF7BF2 #EDB3F7 #F8E3FC

Accessibility & contrast

On white

2.54
#DF7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#DF7BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7BF2
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7BF2#FFFFFF#000000##000000
##DF7BF21.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#86A6EF
Tritanopia (blue-blind)
#E18BAC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #df7bf2;
/* rgb */ color: rgb(223, 123, 242);
/* oklch */ color: oklch(73.7% 0.193 321.0);
Tailwind
colors: {
  custom: {
    50: '#eba4f7',
    500: '#df7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #df7bf2;
$custom-light: #eba4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#df7bf2",
  "rgb": {
    "r": 223,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 290.42,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73653,
    "c": 0.19258,
    "h": 321
  },
  "luminance": 0.36265
}

Semantic roles & 50–950 ramp

primary
#DF7BF2
secondary
#DAF4D5
accent
#DE0729
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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