#9F26B0#9F26B0

#9F26B0 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.217 H 322.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9F26B0
RGBrgb(159, 38, 176)
HSLhsl(293, 64%, 42%)
HSVhsv(293, 78%, 69%)
CMYKcmyk(9.7%, 78.4%, 0%, 31%)
CIE-LABlab(41.05, 64.91, -47.42)
CIE-LCHlch(41.05, 80.38, 323.85°)
OKLaboklab(52.05% 0.172 -0.1327)
OKLCHoklch(52.05% 0.217 322.4)
XYZxyz(22.8269, 11.8931, 42.1591)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F26B0 #37B026
analogous
#5A26B0 #9F26B0 #B0267C
triadic
#9F26B0 #B09F26 #26B09F
tetradic
#9F26B0 #B05A26 #37B026 #267CB0
square
#9F26B0 #B05A26 #37B026 #267CB0
split-complementary
#9F26B0 #7CB026 #26B05A
monochromatic
#44104B #721B7E #9F26B0 #C33ED5 #D270E0

Accessibility & contrast

On white

6.22
#9F26B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9F26B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F26B0
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F26B0#FFFFFF#000000##FFFFFF
##9F26B01.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#3C65AD
Tritanopia (blue-blind)
#A1426B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f26b0;
/* rgb */ color: rgb(159, 38, 176);
/* oklch */ color: oklch(52.0% 0.217 322.4);
Tailwind
colors: {
  custom: {
    50: '#bf6fc8',
    500: '#9f26b0',
    950: '#000000',
  },
}
SCSS
$custom: #9f26b0;
$custom-light: #bf6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f26b0",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 292.609,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5205,
    "c": 0.21725,
    "h": 322.4
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#9F26B0
secondary
#76C76B
accent
#E74055
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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