#9E26B0#9E26B0

#9E26B0 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.217 H 322.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9E26B0
RGBrgb(158, 38, 176)
HSLhsl(292, 64%, 42%)
HSVhsv(292, 78%, 69%)
CMYKcmyk(10.2%, 78.4%, 0%, 31%)
CIE-LABlab(40.88, 64.71, -47.69)
CIE-LCHlch(40.88, 80.39, 323.61°)
OKLaboklab(51.9% 0.1709 -0.1335)
OKLCHoklch(51.9% 0.217 322)
XYZxyz(22.6293, 11.7912, 42.1499)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E26B0 #38B026
analogous
#5926B0 #9E26B0 #B0267D
triadic
#9E26B0 #B09E26 #26B09E
tetradic
#9E26B0 #B05926 #38B026 #267DB0
square
#9E26B0 #B05926 #38B026 #267DB0
split-complementary
#9E26B0 #7DB026 #26B059
monochromatic
#44104B #711B7E #9E26B0 #C23ED5 #D270E0

Accessibility & contrast

On white

6.25
#9E26B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9E26B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E26B0
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E26B0#FFFFFF#000000##FFFFFF
##9E26B01.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#3B65AD
Tritanopia (blue-blind)
#A0436B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e26b0;
/* rgb */ color: rgb(158, 38, 176);
/* oklch */ color: oklch(51.9% 0.217 322.0);
Tailwind
colors: {
  custom: {
    50: '#bf6fc8',
    500: '#9e26b0',
    950: '#000000',
  },
}
SCSS
$custom: #9e26b0;
$custom-light: #bf6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e26b0",
  "rgb": {
    "r": 158,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 292.174,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.21684,
    "h": 322
  },
  "luminance": 0.1179
}

Semantic roles & 50–950 ramp

primary
#9E26B0
secondary
#77C76B
accent
#E74056
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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