#9B26A3#9B26A3

#9B26A3 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.205 H 325.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9B26A3
RGBrgb(155, 38, 163)
HSLhsl(296, 62%, 39%)
HSVhsv(296, 77%, 64%)
CMYKcmyk(4.9%, 76.7%, 0%, 36.1%)
CIE-LABlab(39.58, 61.84, -42.04)
CIE-LCHlch(39.58, 74.77, 325.79°)
OKLaboklab(50.63% 0.1685 -0.1171)
OKLCHoklch(50.63% 0.205 325.2)
XYZxyz(20.8211, 11.0005, 35.6699)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B26A3 #2EA326
analogous
#5D26A3 #9B26A3 #A3266D
triadic
#9B26A3 #A39B26 #26A39B
tetradic
#9B26A3 #A35D26 #2EA326 #266DA3
square
#9B26A3 #A35D26 #2EA326 #266DA3
split-complementary
#9B26A3 #6DA326 #26A35D
monochromatic
#3D0F40 #6C1A71 #9B26A3 #C636D0 #D468DC

Accessibility & contrast

On white

6.56
#9B26A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9B26A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B26A3
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B26A3#FFFFFF#000000##FFFFFF
##9B26A31.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#4162A0
Tritanopia (blue-blind)
#9F3D64
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b26a3;
/* rgb */ color: rgb(155, 38, 163);
/* oklch */ color: oklch(50.6% 0.205 325.2);
Tailwind
colors: {
  custom: {
    50: '#bc6ebf',
    500: '#9b26a3',
    950: '#000000',
  },
}
SCSS
$custom: #9b26a3;
$custom-light: #bc6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b26a3",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 296.16,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50626,
    "c": 0.2052,
    "h": 325.2
  },
  "luminance": 0.10999
}

Semantic roles & 50–950 ramp

primary
#9B26A3
secondary
#69C263
accent
#E5434D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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