#DF7DFA#DF7DFA

#DF7DFA is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.3% C 0.197 H 318.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#DF7DFA
RGBrgb(223, 125, 250)
HSLhsl(287, 93%, 74%)
HSVhsv(287, 50%, 98%)
CMYKcmyk(10.8%, 50%, 0%, 2%)
CIE-LABlab(67.47, 56.91, -47.01)
CIE-LCHlch(67.47, 73.81, 320.45°)
OKLaboklab(74.33% 0.1481 -0.1304)
OKLCHoklch(74.33% 0.197 318.6)
XYZxyz(55.0181, 37.2593, 94.7176)
Luminance0.3726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7DFA #98FA7D
analogous
#A07DFA #DF7DFA #FA7DD6
triadic
#DF7DFA #FADF7D #7DFADF
tetradic
#DF7DFA #FAA07D #98FA7D #7DD6FA
square
#DF7DFA #FAA07D #98FA7D #7DD6FA
split-complementary
#DF7DFA #D6FA7D #7DFAA0
monochromatic
#C109F3 #D042F8 #DF7DFA #EEB8FC #F8E2FE

Accessibility & contrast

On white

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

On black

8.45
#DF7DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7DFA
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7DFA#FFFFFF#000000##000000
##DF7DFA1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#DF8FB0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7dfa;
/* rgb */ color: rgb(223, 125, 250);
/* oklch */ color: oklch(74.3% 0.197 318.6);
Tailwind
colors: {
  custom: {
    50: '#eba6fc',
    500: '#df7dfa',
    950: '#000000',
  },
}
SCSS
$custom: #df7dfa;
$custom-light: #eba6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#df7dfa",
  "rgb": {
    "r": 223,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 287.04,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74327,
    "c": 0.1973,
    "h": 318.6
  },
  "luminance": 0.37257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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