#D26FF2#D26FF2

#D26FF2 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.5% C 0.205 H 317.3°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D26FF2
RGBrgb(210, 111, 242)
HSLhsl(285, 83%, 69%)
HSVhsv(285, 54%, 95%)
CMYKcmyk(13.2%, 54.1%, 0%, 5.1%)
CIE-LABlab(62.91, 58.82, -49.90)
CIE-LCHlch(62.91, 77.14, 319.69°)
OKLaboklab(70.51% 0.1505 -0.139)
OKLCHoklch(70.51% 0.205 317.3)
XYZxyz(48.2875, 31.4830, 87.5204)
Luminance0.3148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D26FF2 #8FF26F
analogous
#916FF2 #D26FF2 #F26FD0
triadic
#D26FF2 #F2D26F #6FF2D2
tetradic
#D26FF2 #F2916F #8FF26F #6FD0F2
square
#D26FF2 #F2916F #8FF26F #6FD0F2
split-complementary
#D26FF2 #D0F26F #6FF291
monochromatic
#A513D4 #C037ED #D26FF2 #E4A7F7 #F5DFFC

Accessibility & contrast

On white

2.88
#D26FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D26FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D26FF2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D26FF2#FFFFFF#000000##000000
##D26FF21.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#739BEF
Tritanopia (blue-blind)
#D183A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d26ff2;
/* rgb */ color: rgb(210, 111, 242);
/* oklch */ color: oklch(70.5% 0.205 317.3);
Tailwind
colors: {
  custom: {
    50: '#e29cf7',
    500: '#d26ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d26ff2;
$custom-light: #e29cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d26ff2",
  "rgb": {
    "r": 210,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 285.344,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70506,
    "c": 0.2049,
    "h": 317.3
  },
  "luminance": 0.31481
}

Semantic roles & 50–950 ramp

primary
#D26FF2
secondary
#D5F1CB
accent
#E0063B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D26FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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