#DF7EFB#DF7EFB

#DF7EFB is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.5% C 0.197 H 318.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#DF7EFB
RGBrgb(223, 126, 251)
HSLhsl(287, 94%, 74%)
HSVhsv(287, 50%, 98%)
CMYKcmyk(11.2%, 49.8%, 0%, 1.6%)
CIE-LABlab(67.71, 56.61, -47.18)
CIE-LCHlch(67.71, 73.69, 320.19°)
OKLaboklab(74.52% 0.1469 -0.1309)
OKLCHoklch(74.52% 0.197 318.3)
XYZxyz(55.3025, 37.5767, 95.5880)
Luminance0.3757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EFB #9AFB7E
analogous
#A17EFB #DF7EFB #FB7ED9
triadic
#DF7EFB #FBDF7E #7EFBDF
tetradic
#DF7EFB #FBA17E #9AFB7E #7ED9FB
square
#DF7EFB #FBA17E #9AFB7E #7ED9FB
split-complementary
#DF7EFB #D9FB7E #7EFBA1
monochromatic
#C108F7 #D043F9 #DF7EFB #EEB9FD #F8E1FE

Accessibility & contrast

On white

2.47
#DF7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#DF7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EFB
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EFB#FFFFFF#000000##000000
##DF7EFB1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFF
Deuteranopia (green-blind)
#84A8F8
Tritanopia (blue-blind)
#DF90B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df7efb;
/* rgb */ color: rgb(223, 126, 251);
/* oklch */ color: oklch(74.5% 0.197 318.3);
Tailwind
colors: {
  custom: {
    50: '#eba6fd',
    500: '#df7efb',
    950: '#000000',
  },
}
SCSS
$custom: #df7efb;
$custom-light: #eba6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df7efb",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 286.56,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74517,
    "c": 0.19674,
    "h": 318.3
  },
  "luminance": 0.37575
}

Semantic roles & 50–950 ramp

primary
#DF7EFB
secondary
#DCF6D5
accent
#E60033
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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