#DF6AFA#DF6AFA

#DF6AFA is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 71.8% C 0.226 H 319.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#DF6AFA
RGBrgb(223, 106, 250)
HSLhsl(289, 94%, 70%)
HSVhsv(289, 58%, 98%)
CMYKcmyk(10.8%, 57.6%, 0%, 2%)
CIE-LABlab(64.08, 65.95, -52.36)
CIE-LCHlch(64.08, 84.21, 321.55°)
OKLaboklab(71.84% 0.1723 -0.1458)
OKLCHoklch(71.84% 0.226 319.8)
XYZxyz(52.8386, 32.9005, 93.9911)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF6AFA #85FA6A
analogous
#976AFA #DF6AFA #FA6ACD
triadic
#DF6AFA #FADF6A #6AFADF
tetradic
#DF6AFA #FA976A #85FA6A #6ACDFA
square
#DF6AFA #FA976A #85FA6A #6ACDFA
split-complementary
#DF6AFA #CDFA6A #6AFA97
monochromatic
#B908E2 #D22FF8 #DF6AFA #ECA5FC #F8E0FE

Accessibility & contrast

On white

2.77
#DF6AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#DF6AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF6AFA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF6AFA#FFFFFF#000000##000000
##DF6AFA1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FF
Deuteranopia (green-blind)
#759FF6
Tritanopia (blue-blind)
#E080A8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #df6afa;
/* rgb */ color: rgb(223, 106, 250);
/* oklch */ color: oklch(71.8% 0.226 319.8);
Tailwind
colors: {
  custom: {
    50: '#ec9afc',
    500: '#df6afa',
    950: '#000000',
  },
}
SCSS
$custom: #df6afa;
$custom-light: #ec9afc;
$custom-dark: #000000;
JSON
{
  "hex": "#df6afa",
  "rgb": {
    "r": 223,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 288.75,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71837,
    "c": 0.2257,
    "h": 319.8
  },
  "luminance": 0.32898
}

Semantic roles & 50–950 ramp

primary
#DF6AFA
secondary
#D3F4CC
accent
#E6002B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #DF6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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