#DF7FF8#DF7FF8

#DF7FF8 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.5% C 0.192 H 319.1°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#DF7FF8
RGBrgb(223, 127, 248)
HSLhsl(288, 90%, 74%)
HSVhsv(288, 49%, 97%)
CMYKcmyk(10.1%, 48.8%, 0%, 2.7%)
CIE-LABlab(67.76, 55.53, -45.46)
CIE-LCHlch(67.76, 71.76, 320.70°)
OKLaboklab(74.51% 0.1452 -0.1259)
OKLCHoklch(74.51% 0.192 319.1)
XYZxyz(54.9619, 37.6460, 93.1600)
Luminance0.3764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FF8 #98F87F
analogous
#A27FF8 #DF7FF8 #F87FD5
triadic
#DF7FF8 #F8DF7F #7FF8DF
tetradic
#DF7FF8 #F8A27F #98F87F #7FD5F8
square
#DF7FF8 #F8A27F #98F87F #7FD5F8
split-complementary
#DF7FF8 #D5F87F #7FF8A2
monochromatic
#C10DF0 #D045F5 #DF7FF8 #EEB9FB #F8E2FD

Accessibility & contrast

On white

2.46
#DF7FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#DF7FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FF8
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FF8#FFFFFF#000000##000000
##DF7FF81.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFC
Deuteranopia (green-blind)
#86A8F5
Tritanopia (blue-blind)
#E090B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df7ff8;
/* rgb */ color: rgb(223, 127, 248);
/* oklch */ color: oklch(74.5% 0.192 319.1);
Tailwind
colors: {
  custom: {
    50: '#eba7fb',
    500: '#df7ff8',
    950: '#000000',
  },
}
SCSS
$custom: #df7ff8;
$custom-light: #eba7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ff8",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 287.603,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7451,
    "c": 0.19217,
    "h": 319.1
  },
  "luminance": 0.37644
}

Semantic roles & 50–950 ramp

primary
#DF7FF8
secondary
#DCF5D6
accent
#E6002F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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