#D26FEF#D26FEF

#D26FEF is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.3% C 0.202 H 318.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#D26FEF
RGBrgb(210, 111, 239)
HSLhsl(286, 80%, 69%)
HSVhsv(286, 54%, 94%)
CMYKcmyk(12.1%, 53.6%, 0%, 6.3%)
CIE-LABlab(62.76, 58.23, -48.48)
CIE-LCHlch(62.76, 75.77, 320.22°)
OKLaboklab(70.35% 0.1503 -0.1349)
OKLCHoklch(70.35% 0.202 318.1)
XYZxyz(47.8406, 31.3043, 85.1669)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D26FEF #8CEF6F
analogous
#926FEF #D26FEF #EF6FCC
triadic
#D26FEF #EFD26F #6FEFD2
tetradic
#D26FEF #EF926F #8CEF6F #6FCCEF
square
#D26FEF #EF926F #8CEF6F #6FCCEF
split-complementary
#D26FEF #CCEF6F #6FEF92
monochromatic
#A417CD #C138E9 #D26FEF #E3A6F5 #F4DDFB

Accessibility & contrast

On white

2.89
#D26FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#D26FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D26FEF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D26FEF#FFFFFF#000000##000000
##D26FEF1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#759BEC
Tritanopia (blue-blind)
#D282A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d26fef;
/* rgb */ color: rgb(210, 111, 239);
/* oklch */ color: oklch(70.3% 0.202 318.1);
Tailwind
colors: {
  custom: {
    50: '#e29cf5',
    500: '#d26fef',
    950: '#000000',
  },
}
SCSS
$custom: #d26fef;
$custom-light: #e29cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#d26fef",
  "rgb": {
    "r": 210,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 286.406,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70347,
    "c": 0.20194,
    "h": 318.1
  },
  "luminance": 0.31303
}

Semantic roles & 50–950 ramp

primary
#D26FEF
secondary
#D2F0CA
accent
#DC0939
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D26FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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