#DF7BFD#DF7BFD

#DF7BFD is a light, highly saturated purple. Relative luminance 0.369; OKLCH L 74.2% C 0.203 H 318.0°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#DF7BFD
RGBrgb(223, 123, 253)
HSLhsl(286, 97%, 74%)
HSVhsv(286, 51%, 99%)
CMYKcmyk(11.9%, 51.4%, 0%, 0.8%)
CIE-LABlab(67.24, 58.48, -49.02)
CIE-LCHlch(67.24, 76.31, 320.03°)
OKLaboklab(74.2% 0.151 -0.1362)
OKLCHoklch(74.2% 0.203 318)
XYZxyz(55.2416, 36.9477, 97.1312)
Luminance0.3695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7BFD #99FD7B
analogous
#9E7BFD #DF7BFD #FD7BDA
triadic
#DF7BFD #FDDF7B #7BFDDF
tetradic
#DF7BFD #FD9E7B #99FD7B #7BDAFD
square
#DF7BFD #FD9E7B #99FD7B #7BDAFD
split-complementary
#DF7BFD #DAFD7B #7BFD9E
monochromatic
#C104FA #D03FFC #DF7BFD #EEB7FE #F8E1FF

Accessibility & contrast

On white

2.50
#DF7BFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#DF7BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7BFD
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7BFD#FFFFFF#000000##000000
##DF7BFD1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#80A7F9
Tritanopia (blue-blind)
#DF8EB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7bfd;
/* rgb */ color: rgb(223, 123, 253);
/* oklch */ color: oklch(74.2% 0.203 318.0);
Tailwind
colors: {
  custom: {
    50: '#eba5fe',
    500: '#df7bfd',
    950: '#000000',
  },
}
SCSS
$custom: #df7bfd;
$custom-light: #eba5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df7bfd",
  "rgb": {
    "r": 223,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 286.154,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74201,
    "c": 0.20338,
    "h": 318
  },
  "luminance": 0.36946
}

Semantic roles & 50–950 ramp

primary
#DF7BFD
secondary
#DCF7D4
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DF7BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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