#DF6AFB#DF6AFB

#DF6AFB is a light, highly saturated purple. Relative luminance 0.330; OKLCH L 71.9% C 0.227 H 319.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#DF6AFB
RGBrgb(223, 106, 251)
HSLhsl(288, 95%, 70%)
HSVhsv(288, 58%, 98%)
CMYKcmyk(11.2%, 57.8%, 0%, 1.6%)
CIE-LABlab(64.13, 66.14, -52.83)
CIE-LCHlch(64.13, 84.65, 321.38°)
OKLaboklab(71.89% 0.1723 -0.1472)
OKLCHoklch(71.89% 0.227 319.5)
XYZxyz(52.9958, 32.9634, 94.8191)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF6AFB #86FB6A
analogous
#976AFB #DF6AFB #FB6ACE
triadic
#DF6AFB #FBDF6A #6AFBDF
tetradic
#DF6AFB #FB976A #86FB6A #6ACEFB
square
#DF6AFB #FB976A #86FB6A #6ACEFB
split-complementary
#DF6AFB #CEFB6A #6AFB97
monochromatic
#BA06E4 #D22EF9 #DF6AFB #ECA6FD #F9E1FE

Accessibility & contrast

On white

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

On black

7.59
#DF6AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF6AFB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF6AFB#FFFFFF#000000##000000
##DF6AFB1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#74A0F7
Tritanopia (blue-blind)
#E081A9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #df6afb;
/* rgb */ color: rgb(223, 106, 251);
/* oklch */ color: oklch(71.9% 0.227 319.5);
Tailwind
colors: {
  custom: {
    50: '#ec9afd',
    500: '#df6afb',
    950: '#000000',
  },
}
SCSS
$custom: #df6afb;
$custom-light: #ec9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#df6afb",
  "rgb": {
    "r": 223,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 288.414,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.7189,
    "c": 0.22663,
    "h": 319.5
  },
  "luminance": 0.32961
}

Semantic roles & 50–950 ramp

primary
#DF6AFB
secondary
#D4F5CC
accent
#E6002C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DF6AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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