#D26AFE#D26AFE

#D26AFE is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.5% C 0.224 H 314.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#D26AFE
RGBrgb(210, 106, 254)
HSLhsl(282, 99%, 71%)
HSVhsv(282, 58%, 100%)
CMYKcmyk(17.3%, 58.3%, 0%, 0.4%)
CIE-LABlab(62.65, 63.60, -56.94)
CIE-LCHlch(62.65, 85.36, 318.16°)
OKLaboklab(70.51% 0.1573 -0.1595)
OKLCHoklch(70.51% 0.224 314.6)
XYZxyz(49.6189, 31.1670, 97.1488)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D26AFE #96FE6A
analogous
#886AFE #D26AFE #FE6AE0
triadic
#D26AFE #FED26A #6AFED2
tetradic
#D26AFE #FE886A #96FE6A #6AE0FE
square
#D26AFE #FE886A #96FE6A #6AE0FE
split-complementary
#D26AFE #E0FE6A #6AFE88
monochromatic
#A602EC #C02DFE #D26AFE #E4A7FE #F6E1FF

Accessibility & contrast

On white

2.90
#D26AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#D26AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D26AFE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D26AFE#FFFFFF#000000##000000
##D26AFE1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#679AFA
Tritanopia (blue-blind)
#CF84AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d26afe;
/* rgb */ color: rgb(210, 106, 254);
/* oklch */ color: oklch(70.5% 0.224 314.6);
Tailwind
colors: {
  custom: {
    50: '#e399ff',
    500: '#d26afe',
    950: '#000000',
  },
}
SCSS
$custom: #d26afe;
$custom-light: #e399ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d26afe",
  "rgb": {
    "r": 210,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 282.162,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70514,
    "c": 0.22405,
    "h": 314.6
  },
  "luminance": 0.31165
}

Semantic roles & 50–950 ramp

primary
#D26AFE
secondary
#DAF6CE
accent
#E60044
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D26AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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