#DF7FFB#DF7FFB

#DF7FFB is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.7% C 0.195 H 318.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#DF7FFB
RGBrgb(223, 127, 251)
HSLhsl(286, 94%, 74%)
HSVhsv(286, 49%, 98%)
CMYKcmyk(11.2%, 49.4%, 0%, 1.6%)
CIE-LABlab(67.90, 56.11, -46.88)
CIE-LCHlch(67.90, 73.12, 320.12°)
OKLaboklab(74.66% 0.1455 -0.13)
OKLCHoklch(74.66% 0.195 318.2)
XYZxyz(55.4310, 37.8337, 95.6308)
Luminance0.3783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FFB #9BFB7F
analogous
#A17FFB #DF7FFB #FB7FD9
triadic
#DF7FFB #FBDF7F #7FFBDF
tetradic
#DF7FFB #FBA17F #9BFB7F #7FD9FB
square
#DF7FFB #FBA17F #9BFB7F #7FD9FB
split-complementary
#DF7FFB #D9FB7F #7FFBA1
monochromatic
#C108F7 #D044F9 #DF7FFB #EEBAFD #F8E1FE

Accessibility & contrast

On white

2.45
#DF7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#DF7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FFB
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FFB#FFFFFF#000000##000000
##DF7FFB1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#DF91B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df7ffb;
/* rgb */ color: rgb(223, 127, 251);
/* oklch */ color: oklch(74.7% 0.195 318.2);
Tailwind
colors: {
  custom: {
    50: '#eba7fd',
    500: '#df7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #df7ffb;
$custom-light: #eba7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ffb",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 286.452,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74658,
    "c": 0.19517,
    "h": 318.2
  },
  "luminance": 0.37832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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