#9E26A5#9E26A5

#9E26A5 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.208 H 325.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9E26A5
RGBrgb(158, 38, 165)
HSLhsl(297, 63%, 40%)
HSVhsv(297, 77%, 65%)
CMYKcmyk(4.2%, 77%, 0%, 35.3%)
CIE-LABlab(40.20, 62.80, -42.22)
CIE-LCHlch(40.20, 75.67, 326.09°)
OKLaboklab(51.2% 0.1717 -0.1175)
OKLCHoklch(51.2% 0.208 325.6)
XYZxyz(21.5847, 11.3734, 36.6484)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E26A5 #2DA526
analogous
#5F26A5 #9E26A5 #A5266D
triadic
#9E26A5 #A59E26 #26A59E
tetradic
#9E26A5 #A55F26 #2DA526 #266DA5
square
#9E26A5 #A55F26 #2DA526 #266DA5
split-complementary
#9E26A5 #6DA526 #26A55F
monochromatic
#3F0F42 #6E1B73 #9E26A5 #C937D1 #D669DC

Accessibility & contrast

On white

6.41
#9E26A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9E26A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E26A5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E26A5#FFFFFF#000000##FFFFFF
##9E26A51.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#4364A2
Tritanopia (blue-blind)
#A23D65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e26a5;
/* rgb */ color: rgb(158, 38, 165);
/* oklch */ color: oklch(51.2% 0.208 325.6);
Tailwind
colors: {
  custom: {
    50: '#be6fc0',
    500: '#9e26a5',
    950: '#000000',
  },
}
SCSS
$custom: #9e26a5;
$custom-light: #be6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e26a5",
  "rgb": {
    "r": 158,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 296.693,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51203,
    "c": 0.20811,
    "h": 325.6
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#9E26A5
secondary
#69C364
accent
#E6424B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E26A5

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

Preview Lab → · Contrast checker → · Palette generator →

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