#D26AFC#D26AFC

#D26AFC is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.4% C 0.222 H 315.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#D26AFC
RGBrgb(210, 106, 252)
HSLhsl(283, 96%, 70%)
HSVhsv(283, 58%, 99%)
CMYKcmyk(16.7%, 57.9%, 0%, 1.2%)
CIE-LABlab(62.54, 63.20, -56.01)
CIE-LCHlch(62.54, 84.44, 318.45°)
OKLaboklab(70.4% 0.1573 -0.1568)
OKLCHoklch(70.4% 0.222 315.1)
XYZxyz(49.3003, 31.0396, 95.4708)
Luminance0.3104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D26AFC #94FC6A
analogous
#896AFC #D26AFC #FC6ADD
triadic
#D26AFC #FCD26A #6AFCD2
tetradic
#D26AFC #FC896A #94FC6A #6ADDFC
square
#D26AFC #FC896A #94FC6A #6ADDFC
split-complementary
#D26AFC #DDFC6A #6AFC89
monochromatic
#A605E7 #C02EFB #D26AFC #E4A6FD #F6E1FE

Accessibility & contrast

On white

2.91
#D26AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#D26AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D26AFC
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D26AFC#FFFFFF#000000##000000
##D26AFC1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F91FF
Deuteranopia (green-blind)
#689AF8
Tritanopia (blue-blind)
#CF83A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d26afc;
/* rgb */ color: rgb(210, 106, 252);
/* oklch */ color: oklch(70.4% 0.222 315.1);
Tailwind
colors: {
  custom: {
    50: '#e399fe',
    500: '#d26afc',
    950: '#000000',
  },
}
SCSS
$custom: #d26afc;
$custom-light: #e399fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d26afc",
  "rgb": {
    "r": 210,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 282.74,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70401,
    "c": 0.22209,
    "h": 315.1
  },
  "luminance": 0.31038
}

Semantic roles & 50–950 ramp

primary
#D26AFC
secondary
#D8F5CD
accent
#E60042
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D26AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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