#DF6AF2#DF6AF2

#DF6AF2 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.4% C 0.218 H 321.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#DF6AF2
RGBrgb(223, 106, 242)
HSLhsl(292, 84%, 68%)
HSVhsv(292, 56%, 95%)
CMYKcmyk(7.9%, 56.2%, 0%, 5.1%)
CIE-LABlab(63.68, 64.47, -48.58)
CIE-LCHlch(63.68, 80.72, 323.00°)
OKLaboklab(71.41% 0.1718 -0.1348)
OKLCHoklch(71.41% 0.218 321.9)
XYZxyz(51.6107, 32.4093, 87.5243)
Luminance0.3241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF6AF2 #7DF26A
analogous
#9B6AF2 #DF6AF2 #F26AC1
triadic
#DF6AF2 #F2DF6A #6AF2DF
tetradic
#DF6AF2 #F29B6A #7DF26A #6AC1F2
square
#DF6AF2 #F29B6A #7DF26A #6AC1F2
split-complementary
#DF6AF2 #C1F26A #6AF29B
monochromatic
#B512CF #D332ED #DF6AF2 #EBA2F7 #F7DBFC

Accessibility & contrast

On white

2.81
#DF6AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#DF6AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF6AF2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF6AF2#FFFFFF#000000##000000
##DF6AF21.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#799FEE
Tritanopia (blue-blind)
#E17EA4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #df6af2;
/* rgb */ color: rgb(223, 106, 242);
/* oklch */ color: oklch(71.4% 0.218 321.9);
Tailwind
colors: {
  custom: {
    50: '#ec9af7',
    500: '#df6af2',
    950: '#000000',
  },
}
SCSS
$custom: #df6af2;
$custom-light: #ec9af7;
$custom-dark: #000000;
JSON
{
  "hex": "#df6af2",
  "rgb": {
    "r": 223,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 291.618,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71414,
    "c": 0.21837,
    "h": 321.9
  },
  "luminance": 0.32407
}

Semantic roles & 50–950 ramp

primary
#DF6AF2
secondary
#CDF1C7
accent
#E00524
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #DF6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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