#9E26A3#9E26A3

#9E26A3 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.207 H 326.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9E26A3
RGBrgb(158, 38, 163)
HSLhsl(298, 62%, 39%)
HSVhsv(298, 77%, 64%)
CMYKcmyk(3.1%, 76.7%, 0%, 36.1%)
CIE-LABlab(40.08, 62.46, -41.21)
CIE-LCHlch(40.08, 74.83, 326.58°)
OKLaboklab(51.08% 0.1718 -0.1146)
OKLCHoklch(51.08% 0.207 326.3)
XYZxyz(21.4041, 11.3012, 35.6972)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E26A3 #2BA326
analogous
#6026A3 #9E26A3 #A3266A
triadic
#9E26A3 #A39E26 #26A39E
tetradic
#9E26A3 #A36026 #2BA326 #266AA3
square
#9E26A3 #A36026 #2BA326 #266AA3
split-complementary
#9E26A3 #6AA326 #26A360
monochromatic
#3E0F40 #6E1A71 #9E26A3 #CA36D0 #D768DC

Accessibility & contrast

On white

6.44
#9E26A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9E26A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E26A3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E26A3#FFFFFF#000000##FFFFFF
##9E26A31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#4564A0
Tritanopia (blue-blind)
#A23C64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e26a3;
/* rgb */ color: rgb(158, 38, 163);
/* oklch */ color: oklch(51.1% 0.207 326.3);
Tailwind
colors: {
  custom: {
    50: '#be6fbf',
    500: '#9e26a3',
    950: '#000000',
  },
}
SCSS
$custom: #9e26a3;
$custom-light: #be6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e26a3",
  "rgb": {
    "r": 158,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 297.6,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51079,
    "c": 0.20655,
    "h": 326.3
  },
  "luminance": 0.113
}

Semantic roles & 50–950 ramp

primary
#9E26A3
secondary
#67C263
accent
#E54349
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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