#DF7BF5#DF7BF5

#DF7BF5 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.8% C 0.196 H 320.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#DF7BF5
RGBrgb(223, 123, 245)
HSLhsl(289, 86%, 72%)
HSVhsv(289, 50%, 96%)
CMYKcmyk(9%, 49.8%, 0%, 3.9%)
CIE-LABlab(66.86, 56.94, -45.22)
CIE-LCHlch(66.86, 72.71, 321.54°)
OKLaboklab(73.8% 0.1501 -0.1252)
OKLCHoklch(73.8% 0.196 320.2)
XYZxyz(53.9938, 36.4486, 90.5596)
Luminance0.3645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7BF5 #91F57B
analogous
#A27BF5 #DF7BF5 #F57BCE
triadic
#DF7BF5 #F5DF7B #7BF5DF
tetradic
#DF7BF5 #F5A27B #91F57B #7BCEF5
square
#DF7BF5 #F5A27B #91F57B #7BCEF5
split-complementary
#DF7BF5 #CEF57B #7BF5A2
monochromatic
#BE11E4 #D142F1 #DF7BF5 #EDB4F9 #F8E3FD

Accessibility & contrast

On white

2.53
#DF7BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#DF7BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7BF5
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7BF5#FFFFFF#000000##000000
##DF7BF51.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CF9
Deuteranopia (green-blind)
#85A6F2
Tritanopia (blue-blind)
#E08CAD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7bf5;
/* rgb */ color: rgb(223, 123, 245);
/* oklch */ color: oklch(73.8% 0.196 320.2);
Tailwind
colors: {
  custom: {
    50: '#eba4f9',
    500: '#df7bf5',
    950: '#000000',
  },
}
SCSS
$custom: #df7bf5;
$custom-light: #eba4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#df7bf5",
  "rgb": {
    "r": 223,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 289.18,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.738,
    "c": 0.1955,
    "h": 320.2
  },
  "luminance": 0.36446
}

Semantic roles & 50–950 ramp

primary
#DF7BF5
secondary
#DCF5D6
accent
#E2032B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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