#DB26FC#DB26FC

#DB26FC is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 65.7% C 0.296 H 320.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#DB26FC
RGBrgb(219, 38, 252)
HSLhsl(291, 97%, 57%)
HSVhsv(291, 85%, 99%)
CMYKcmyk(13.1%, 84.9%, 0%, 1.2%)
CIE-LABlab(55.56, 88.27, -67.13)
CIE-LCHlch(55.56, 110.89, 322.75°)
OKLaboklab(65.66% 0.2282 -0.1887)
OKLCHoklch(65.66% 0.296 320.4)
XYZxyz(47.4751, 23.4772, 94.1075)
Luminance0.2347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB26FC #47FC26
analogous
#7026FC #DB26FC #FC26B2
triadic
#DB26FC #FCDB26 #26FCDB
tetradic
#DB26FC #FC7026 #47FC26 #26B2FC
square
#DB26FC #FC7026 #47FC26 #26B2FC
split-complementary
#DB26FC #B2FC26 #26FC70
monochromatic
#8C02A5 #BF03E2 #DB26FC #E562FD #EF9FFE

Accessibility & contrast

On white

3.69
#DB26FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#DB26FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB26FC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB26FC#FFFFFF#000000##000000
##DB26FC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#428BF8
Tritanopia (blue-blind)
#DC5C98
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #db26fc;
/* rgb */ color: rgb(219, 38, 252);
/* oklch */ color: oklch(65.7% 0.296 320.4);
Tailwind
colors: {
  custom: {
    50: '#eb7bfe',
    500: '#db26fc',
    950: '#000000',
  },
}
SCSS
$custom: #db26fc;
$custom-light: #eb7bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#db26fc",
  "rgb": {
    "r": 219,
    "g": 38,
    "b": 252
  },
  "hsl": {
    "h": 290.748,
    "s": 97.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.65665,
    "c": 0.29613,
    "h": 320.4
  },
  "luminance": 0.23475
}

Semantic roles & 50–950 ramp

primary
#DB26FC
secondary
#A1EB93
accent
#FF294A
background
#FFF8FF
surface
#FEEFFF
border
#D6CAD7
text
#170B18
muted
#857C86

Preview Lab

Preview with #DB26FC

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

Preview Lab → · Contrast checker → · Palette generator →

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