#9E26A9#9E26A9

#9E26A9 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.211 H 324.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9E26A9
RGBrgb(158, 38, 169)
HSLhsl(295, 63%, 41%)
HSVhsv(295, 78%, 66%)
CMYKcmyk(6.5%, 77.5%, 0%, 33.7%)
CIE-LABlab(40.45, 63.49, -44.22)
CIE-LCHlch(40.45, 77.37, 325.14°)
OKLaboklab(51.45% 0.1715 -0.1234)
OKLCHoklch(51.45% 0.211 324.3)
XYZxyz(21.9545, 11.5213, 38.5959)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E26A9 #31A926
analogous
#5C26A9 #9E26A9 #A92672
triadic
#9E26A9 #A99E26 #26A99E
tetradic
#9E26A9 #A95C26 #31A926 #2672A9
square
#9E26A9 #A95C26 #31A926 #2672A9
split-complementary
#9E26A9 #72A926 #26A95C
monochromatic
#411045 #6F1B77 #9E26A9 #C63AD3 #D46CDE

Accessibility & contrast

On white

6.36
#9E26A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9E26A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E26A9
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E26A9#FFFFFF#000000##FFFFFF
##9E26A91.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#4064A6
Tritanopia (blue-blind)
#A13F67
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e26a9;
/* rgb */ color: rgb(158, 38, 169);
/* oklch */ color: oklch(51.5% 0.211 324.3);
Tailwind
colors: {
  custom: {
    50: '#bf6fc3',
    500: '#9e26a9',
    950: '#000000',
  },
}
SCSS
$custom: #9e26a9;
$custom-light: #bf6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e26a9",
  "rgb": {
    "r": 158,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 294.962,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51453,
    "c": 0.21127,
    "h": 324.3
  },
  "luminance": 0.1152
}

Semantic roles & 50–950 ramp

primary
#9E26A9
secondary
#6EC467
accent
#E6414F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9E26A9

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

Preview Lab → · Contrast checker → · Palette generator →

#9E26A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva