#DF7BF7#DF7BF7

#DF7BF7 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.9% C 0.197 H 319.6°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#DF7BF7
RGBrgb(223, 123, 247)
HSLhsl(288, 89%, 73%)
HSVhsv(288, 50%, 97%)
CMYKcmyk(9.7%, 50.2%, 0%, 3.1%)
CIE-LABlab(66.95, 57.32, -46.17)
CIE-LCHlch(66.95, 73.61, 321.15°)
OKLaboklab(73.9% 0.1504 -0.128)
OKLCHoklch(73.9% 0.197 319.6)
XYZxyz(54.3008, 36.5714, 92.1763)
Luminance0.3657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7BF7 #93F77B
analogous
#A17BF7 #DF7BF7 #F77BD1
triadic
#DF7BF7 #F7DF7B #7BF7DF
tetradic
#DF7BF7 #F7A17B #93F77B #7BD1F7
square
#DF7BF7 #F7A17B #93F77B #7BD1F7
split-complementary
#DF7BF7 #D1F77B #7BF7A1
monochromatic
#BF0EE9 #D141F4 #DF7BF7 #EDB5FA #F8E2FD

Accessibility & contrast

On white

2.53
#DF7BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#DF7BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7BF7
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7BF7#FFFFFF#000000##000000
##DF7BF71.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#E08CAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7bf7;
/* rgb */ color: rgb(223, 123, 247);
/* oklch */ color: oklch(73.9% 0.197 319.6);
Tailwind
colors: {
  custom: {
    50: '#eba4fa',
    500: '#df7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #df7bf7;
$custom-light: #eba4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#df7bf7",
  "rgb": {
    "r": 223,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 288.387,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73899,
    "c": 0.19746,
    "h": 319.6
  },
  "luminance": 0.36569
}

Semantic roles & 50–950 ramp

primary
#DF7BF7
secondary
#DCF5D6
accent
#E5002D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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