#9B26CA#9B26CA

#9B26CA is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.3% C 0.237 H 313.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9B26CA
RGBrgb(155, 38, 202)
HSLhsl(283, 68%, 47%)
HSVhsv(283, 81%, 79%)
CMYKcmyk(23.3%, 81.2%, 0%, 20.8%)
CIE-LABlab(42.18, 69.00, -60.86)
CIE-LCHlch(42.18, 92.01, 318.59°)
OKLaboklab(53.29% 0.163 -0.1723)
OKLCHoklch(53.29% 0.237 313.4)
XYZxyz(24.8695, 12.6199, 56.9915)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B26CA #55CA26
analogous
#4926CA #9B26CA #CA26A7
triadic
#9B26CA #CA9B26 #26CA9B
tetradic
#9B26CA #CA4926 #55CA26 #26A7CA
square
#9B26CA #CA4926 #55CA26 #26A7CA
split-complementary
#9B26CA #A7CA26 #26CA49
monochromatic
#4C1363 #731C96 #9B26CA #B54FDE #CB83E8

Accessibility & contrast

On white

5.96
#9B26CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9B26CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B26CA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B26CA#FFFFFF#000000##FFFFFF
##9B26CA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0866C7
Tritanopia (blue-blind)
#96507A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b26ca;
/* rgb */ color: rgb(155, 38, 202);
/* oklch */ color: oklch(53.3% 0.237 313.4);
Tailwind
colors: {
  custom: {
    50: '#be70db',
    500: '#9b26ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b26ca;
$custom-light: #be70db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b26ca",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 282.805,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.23717,
    "h": 313.4
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#9B26CA
secondary
#94D17B
accent
#EB3D6F
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9B26CA

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

Preview Lab → · Contrast checker → · Palette generator →

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