#DF7FF2#DF7FF2

#DF7FF2 is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.2% C 0.186 H 320.8°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#DF7FF2
RGBrgb(223, 127, 242)
HSLhsl(290, 82%, 72%)
HSVhsv(290, 48%, 95%)
CMYKcmyk(7.9%, 47.5%, 0%, 5.1%)
CIE-LABlab(67.49, 54.38, -42.59)
CIE-LCHlch(67.49, 69.07, 321.93°)
OKLaboklab(74.22% 0.1443 -0.1177)
OKLCHoklch(74.22% 0.186 320.8)
XYZxyz(54.0459, 37.2797, 88.3360)
Luminance0.3728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FF2 #92F27F
analogous
#A67FF2 #DF7FF2 #F27FCB
triadic
#DF7FF2 #F2DF7F #7FF2DF
tetradic
#DF7FF2 #F2A67F #92F27F #7FCBF2
square
#DF7FF2 #F2A67F #92F27F #7FCBF2
split-complementary
#DF7FF2 #CBF27F #7FF2A6
monochromatic
#BF17E0 #D147EC #DF7FF2 #EDB7F8 #F8E3FC

Accessibility & contrast

On white

2.48
#DF7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#DF7FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FF2
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FF2#FFFFFF#000000##000000
##DF7FF21.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#E18EAD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7ff2;
/* rgb */ color: rgb(223, 127, 242);
/* oklch */ color: oklch(74.2% 0.186 320.8);
Tailwind
colors: {
  custom: {
    50: '#eba7f7',
    500: '#df7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #df7ff2;
$custom-light: #eba7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ff2",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 290.087,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74218,
    "c": 0.18622,
    "h": 320.8
  },
  "luminance": 0.37278
}

Semantic roles & 50–950 ramp

primary
#DF7FF2
secondary
#DCF4D7
accent
#DE082B
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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