#9E26A2#9E26A2

#9E26A2 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.206 H 326.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9E26A2
RGBrgb(158, 38, 162)
HSLhsl(298, 62%, 39%)
HSVhsv(298, 77%, 64%)
CMYKcmyk(2.5%, 76.5%, 0%, 36.5%)
CIE-LABlab(40.02, 62.29, -40.71)
CIE-LCHlch(40.02, 74.41, 326.84°)
OKLaboklab(51.02% 0.1719 -0.1131)
OKLCHoklch(51.02% 0.206 326.6)
XYZxyz(21.3149, 11.2655, 35.2272)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E26A2 #2AA226
analogous
#6026A2 #9E26A2 #A22668
triadic
#9E26A2 #A29E26 #26A29E
tetradic
#9E26A2 #A26026 #2AA226 #2668A2
square
#9E26A2 #A26026 #2AA226 #2668A2
split-complementary
#9E26A2 #68A226 #26A260
monochromatic
#3D0F3F #6E1A70 #9E26A2 #CB35D0 #D867DB

Accessibility & contrast

On white

6.46
#9E26A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9E26A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E26A2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E26A2#FFFFFF#000000##FFFFFF
##9E26A21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#45639F
Tritanopia (blue-blind)
#A23C63
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e26a2;
/* rgb */ color: rgb(158, 38, 162);
/* oklch */ color: oklch(51.0% 0.206 326.6);
Tailwind
colors: {
  custom: {
    50: '#be6ebe',
    500: '#9e26a2',
    950: '#000000',
  },
}
SCSS
$custom: #9e26a2;
$custom-light: #be6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9e26a2",
  "rgb": {
    "r": 158,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 298.065,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51018,
    "c": 0.20576,
    "h": 326.6
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#9E26A2
secondary
#66C163
accent
#E54348
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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