#DF7BFC#DF7BFC

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

Color values

HEX#DF7BFC
RGBrgb(223, 123, 252)
HSLhsl(287, 96%, 74%)
HSVhsv(287, 51%, 99%)
CMYKcmyk(11.5%, 51.2%, 0%, 1.2%)
CIE-LABlab(67.19, 58.29, -48.54)
CIE-LCHlch(67.19, 75.85, 320.21°)
OKLaboklab(74.15% 0.1509 -0.1348)
OKLCHoklch(74.15% 0.202 318.2)
XYZxyz(55.0827, 36.8842, 96.2944)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7BFC #98FC7B
analogous
#9E7BFC #DF7BFC #FC7BD8
triadic
#DF7BFC #FCDF7B #7BFCDF
tetradic
#DF7BFC #FC9E7B #98FC7B #7BD8FC
square
#DF7BFC #FC9E7B #98FC7B #7BD8FC
split-complementary
#DF7BFC #D8FC7B #7BFC9E
monochromatic
#C106F7 #D03FFB #DF7BFC #EEB7FD #F8E1FE

Accessibility & contrast

On white

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

On black

8.38
#DF7BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7BFC
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7BFC#FFFFFF#000000##000000
##DF7BFC1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df7bfc;
/* rgb */ color: rgb(223, 123, 252);
/* oklch */ color: oklch(74.2% 0.202 318.2);
Tailwind
colors: {
  custom: {
    50: '#eba4fe',
    500: '#df7bfc',
    950: '#000000',
  },
}
SCSS
$custom: #df7bfc;
$custom-light: #eba4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df7bfc",
  "rgb": {
    "r": 223,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 286.512,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7415,
    "c": 0.20239,
    "h": 318.2
  },
  "luminance": 0.36882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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