#9A26B0#9A26B0

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

Color values

HEX#9A26B0
RGBrgb(154, 38, 176)
HSLhsl(290, 64%, 42%)
HSVhsv(290, 78%, 69%)
CMYKcmyk(12.5%, 78.4%, 0%, 31%)
CIE-LABlab(40.23, 63.94, -48.77)
CIE-LCHlch(40.23, 80.41, 322.67°)
OKLaboklab(51.32% 0.1662 -0.1368)
OKLCHoklch(51.32% 0.215 320.5)
XYZxyz(21.8551, 11.3920, 42.1136)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A26B0 #3CB026
analogous
#5526B0 #9A26B0 #B02681
triadic
#9A26B0 #B09A26 #26B09A
tetradic
#9A26B0 #B05526 #3CB026 #2681B0
square
#9A26B0 #B05526 #3CB026 #2681B0
split-complementary
#9A26B0 #81B026 #26B055
monochromatic
#42104B #6E1B7E #9A26B0 #BD3ED5 #CE70E0

Accessibility & contrast

On white

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

On black

3.28
#9A26B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9A26B0#FFFFFF#000000##FFFFFF
##9A26B01.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#9B436B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a26b0;
/* rgb */ color: rgb(154, 38, 176);
/* oklch */ color: oklch(51.3% 0.215 320.5);
Tailwind
colors: {
  custom: {
    50: '#bc6fc8',
    500: '#9a26b0',
    950: '#000000',
  },
}
SCSS
$custom: #9a26b0;
$custom-light: #bc6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a26b0",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 290.435,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51317,
    "c": 0.21527,
    "h": 320.5
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#9A26B0
secondary
#7AC76B
accent
#E7405B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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