#9D26B0#9D26B0

#9D26B0 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.216 H 321.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9D26B0
RGBrgb(157, 38, 176)
HSLhsl(292, 64%, 42%)
HSVhsv(292, 78%, 69%)
CMYKcmyk(10.8%, 78.4%, 0%, 31%)
CIE-LABlab(40.72, 64.52, -47.96)
CIE-LCHlch(40.72, 80.39, 323.38°)
OKLaboklab(51.76% 0.1697 -0.1343)
OKLCHoklch(51.76% 0.216 321.6)
XYZxyz(22.4334, 11.6902, 42.1407)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D26B0 #39B026
analogous
#5826B0 #9D26B0 #B0267E
triadic
#9D26B0 #B09D26 #26B09D
tetradic
#9D26B0 #B05826 #39B026 #267EB0
square
#9D26B0 #B05826 #39B026 #267EB0
split-complementary
#9D26B0 #7EB026 #26B058
monochromatic
#43104B #701B7E #9D26B0 #C03ED5 #D170E0

Accessibility & contrast

On white

6.29
#9D26B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9D26B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D26B0
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D26B0#FFFFFF#000000##FFFFFF
##9D26B01.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#3964AD
Tritanopia (blue-blind)
#9E436B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d26b0;
/* rgb */ color: rgb(157, 38, 176);
/* oklch */ color: oklch(51.8% 0.216 321.6);
Tailwind
colors: {
  custom: {
    50: '#be6fc8',
    500: '#9d26b0',
    950: '#000000',
  },
}
SCSS
$custom: #9d26b0;
$custom-light: #be6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d26b0",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 291.739,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51756,
    "c": 0.21645,
    "h": 321.6
  },
  "luminance": 0.11689
}

Semantic roles & 50–950 ramp

primary
#9D26B0
secondary
#78C76B
accent
#E74057
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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