#DF7DFB#DF7DFB

#DF7DFB is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.4% C 0.198 H 318.4°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#DF7DFB
RGBrgb(223, 125, 251)
HSLhsl(287, 94%, 74%)
HSVhsv(287, 50%, 98%)
CMYKcmyk(11.2%, 50.2%, 0%, 1.6%)
CIE-LABlab(67.52, 57.11, -47.48)
CIE-LCHlch(67.52, 74.27, 320.26°)
OKLaboklab(74.38% 0.1482 -0.1318)
OKLCHoklch(74.38% 0.198 318.4)
XYZxyz(55.1753, 37.3222, 95.5456)
Luminance0.3732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7DFB #99FB7D
analogous
#A07DFB #DF7DFB #FB7DD8
triadic
#DF7DFB #FBDF7D #7DFBDF
tetradic
#DF7DFB #FBA07D #99FB7D #7DD8FB
square
#DF7DFB #FBA07D #99FB7D #7DD8FB
split-complementary
#DF7DFB #D8FB7D #7DFBA0
monochromatic
#C108F6 #D042F9 #DF7DFB #EEB8FD #F8E1FE

Accessibility & contrast

On white

2.48
#DF7DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#DF7DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7DFB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7DFB#FFFFFF#000000##000000
##DF7DFB1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#83A8F8
Tritanopia (blue-blind)
#DF8FB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7dfb;
/* rgb */ color: rgb(223, 125, 251);
/* oklch */ color: oklch(74.4% 0.198 318.4);
Tailwind
colors: {
  custom: {
    50: '#eba6fd',
    500: '#df7dfb',
    950: '#000000',
  },
}
SCSS
$custom: #df7dfb;
$custom-light: #eba6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df7dfb",
  "rgb": {
    "r": 223,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 286.667,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74377,
    "c": 0.1983,
    "h": 318.4
  },
  "luminance": 0.3732
}

Semantic roles & 50–950 ramp

primary
#DF7DFB
secondary
#DCF6D5
accent
#E60033
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DF7DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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