#DF6AFE#DF6AFE

#DF6AFE is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 72.1% C 0.229 H 318.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#DF6AFE
RGBrgb(223, 106, 254)
HSLhsl(287, 99%, 71%)
HSVhsv(287, 58%, 100%)
CMYKcmyk(12.2%, 58.3%, 0%, 0.4%)
CIE-LABlab(64.29, 66.71, -54.24)
CIE-LCHlch(64.29, 85.97, 320.89°)
OKLaboklab(72.05% 0.1725 -0.1513)
OKLCHoklch(72.05% 0.229 318.7)
XYZxyz(53.4725, 33.1540, 97.3294)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF6AFE #89FE6A
analogous
#956AFE #DF6AFE #FE6AD3
triadic
#DF6AFE #FEDF6A #6AFEDF
tetradic
#DF6AFE #FE956A #89FE6A #6AD3FE
square
#DF6AFE #FE956A #89FE6A #6AD3FE
split-complementary
#DF6AFE #D3FE6A #6AFE95
monochromatic
#BB02EC #D22DFE #DF6AFE #ECA7FE #F8E1FF

Accessibility & contrast

On white

2.75
#DF6AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#DF6AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF6AFE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF6AFE#FFFFFF#000000##000000
##DF6AFE1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#72A0FA
Tritanopia (blue-blind)
#DF82AA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #df6afe;
/* rgb */ color: rgb(223, 106, 254);
/* oklch */ color: oklch(72.1% 0.229 318.7);
Tailwind
colors: {
  custom: {
    50: '#ec9aff',
    500: '#df6afe',
    950: '#000000',
  },
}
SCSS
$custom: #df6afe;
$custom-light: #ec9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#df6afe",
  "rgb": {
    "r": 223,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 287.432,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72053,
    "c": 0.2294,
    "h": 318.7
  },
  "luminance": 0.33152
}

Semantic roles & 50–950 ramp

primary
#DF6AFE
secondary
#D6F6CE
accent
#E60030
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DF6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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