#DF7BFB#DF7BFB

#DF7BFB is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.1% C 0.201 H 318.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#DF7BFB
RGBrgb(223, 123, 251)
HSLhsl(287, 94%, 73%)
HSVhsv(287, 51%, 98%)
CMYKcmyk(11.2%, 51%, 0%, 1.6%)
CIE-LABlab(67.14, 58.09, -48.07)
CIE-LCHlch(67.14, 75.40, 320.39°)
OKLaboklab(74.1% 0.1508 -0.1335)
OKLCHoklch(74.1% 0.201 318.5)
XYZxyz(54.9246, 36.8209, 95.4620)
Luminance0.3682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7BFB #97FB7B
analogous
#9F7BFB #DF7BFB #FB7BD7
triadic
#DF7BFB #FBDF7B #7BFBDF
tetradic
#DF7BFB #FB9F7B #97FB7B #7BD7FB
square
#DF7BFB #FB9F7B #97FB7B #7BD7FB
split-complementary
#DF7BFB #D7FB7B #7BFB9F
monochromatic
#C007F4 #D140F9 #DF7BFB #EDB6FD #F8E1FE

Accessibility & contrast

On white

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

On black

8.36
#DF7BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7BFB
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7BFB#FFFFFF#000000##000000
##DF7BFB1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#DF8EB0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7bfb;
/* rgb */ color: rgb(223, 123, 251);
/* oklch */ color: oklch(74.1% 0.201 318.5);
Tailwind
colors: {
  custom: {
    50: '#eba4fd',
    500: '#df7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #df7bfb;
$custom-light: #eba4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df7bfb",
  "rgb": {
    "r": 223,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 286.875,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.741,
    "c": 0.2014,
    "h": 318.5
  },
  "luminance": 0.36819
}

Semantic roles & 50–950 ramp

primary
#DF7BFB
secondary
#DCF6D5
accent
#E60032
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DF7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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