#DF7FFE#DF7FFE

#DF7FFE is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.8% C 0.198 H 317.4°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#DF7FFE
RGBrgb(223, 127, 254)
HSLhsl(285, 98%, 75%)
HSVhsv(285, 50%, 100%)
CMYKcmyk(12.2%, 50%, 0%, 0.4%)
CIE-LABlab(68.04, 56.70, -48.30)
CIE-LCHlch(68.04, 74.48, 319.57°)
OKLaboklab(74.81% 0.1459 -0.1342)
OKLCHoklch(74.81% 0.198 317.4)
XYZxyz(55.9077, 38.0244, 98.1411)
Luminance0.3802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FFE #9EFE7F
analogous
#9F7FFE #DF7FFE #FE7FDE
triadic
#DF7FFE #FEDF7F #7FFEDF
tetradic
#DF7FFE #FE9F7F #9EFE7F #7FDEFE
square
#DF7FFE #FE9F7F #9EFE7F #7FDEFE
split-complementary
#DF7FFE #DEFE7F #7FFE9F
monochromatic
#C106FD #D042FE #DF7FFE #EEBCFE #F7E1FF

Accessibility & contrast

On white

2.44
#DF7FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#DF7FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FFE
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FFE#FFFFFF#000000##000000
##DF7FFE1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#83A9FB
Tritanopia (blue-blind)
#DE92B3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #df7ffe;
/* rgb */ color: rgb(223, 127, 254);
/* oklch */ color: oklch(74.8% 0.198 317.4);
Tailwind
colors: {
  custom: {
    50: '#eba7ff',
    500: '#df7ffe',
    950: '#000000',
  },
}
SCSS
$custom: #df7ffe;
$custom-light: #eba7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ffe",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 285.354,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74808,
    "c": 0.19819,
    "h": 317.4
  },
  "luminance": 0.38022
}

Semantic roles & 50–950 ramp

primary
#DF7FFE
secondary
#DDF7D4
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DF7FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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