#DF6AFC#DF6AFC

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

Color values

HEX#DF6AFC
RGBrgb(223, 106, 252)
HSLhsl(288, 96%, 70%)
HSVhsv(288, 58%, 99%)
CMYKcmyk(11.5%, 57.9%, 0%, 1.2%)
CIE-LABlab(64.18, 66.33, -53.30)
CIE-LCHlch(64.18, 85.09, 321.21°)
OKLaboklab(71.94% 0.1724 -0.1485)
OKLCHoklch(71.94% 0.228 319.2)
XYZxyz(53.1539, 33.0266, 95.6515)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF6AFC #87FC6A
analogous
#966AFC #DF6AFC #FC6AD0
triadic
#DF6AFC #FCDF6A #6AFCDF
tetradic
#DF6AFC #FC966A #87FC6A #6AD0FC
square
#DF6AFC #FC966A #87FC6A #6AD0FC
split-complementary
#DF6AFC #D0FC6A #6AFC96
monochromatic
#BA05E7 #D22EFB #DF6AFC #ECA6FD #F9E1FE

Accessibility & contrast

On white

2.76
#DF6AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#DF6AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF6AFC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF6AFC#FFFFFF#000000##000000
##DF6AFC1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#74A0F8
Tritanopia (blue-blind)
#DF81A9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #df6afc;
/* rgb */ color: rgb(223, 106, 252);
/* oklch */ color: oklch(71.9% 0.228 319.2);
Tailwind
colors: {
  custom: {
    50: '#ec9afe',
    500: '#df6afc',
    950: '#000000',
  },
}
SCSS
$custom: #df6afc;
$custom-light: #ec9afe;
$custom-dark: #000000;
JSON
{
  "hex": "#df6afc",
  "rgb": {
    "r": 223,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 288.082,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71944,
    "c": 0.22754,
    "h": 319.2
  },
  "luminance": 0.33024
}

Semantic roles & 50–950 ramp

primary
#DF6AFC
secondary
#D5F5CD
accent
#E6002E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DF6AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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