#9B268A#9B268A

#9B268A is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.186 H 334.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9B268A
RGBrgb(155, 38, 138)
HSLhsl(309, 61%, 38%)
HSVhsv(309, 75%, 61%)
CMYKcmyk(0%, 75.5%, 11%, 39.2%)
CIE-LABlab(38.18, 57.76, -29.08)
CIE-LCHlch(38.18, 64.67, 333.28°)
OKLaboklab(49.18% 0.1683 -0.0795)
OKLCHoklch(49.18% 0.186 334.7)
XYZxyz(18.7983, 10.1914, 25.0169)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B268A #269B37
analogous
#71269B #9B268A #9B264F
triadic
#9B268A #8A9B26 #268A9B
tetradic
#9B268A #9B7126 #269B37 #264F9B
square
#9B268A #9B7126 #269B37 #264F9B
split-complementary
#9B268A #4F9B26 #269B71
monochromatic
#390E32 #6A1A5E #9B268A #CC32B6 #D963C8

Accessibility & contrast

On white

6.91
#9B268A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9B268A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B268A
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B268A#FFFFFF#000000##FFFFFF
##9B268A1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#4F6087
Tritanopia (blue-blind)
#A33056
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b268a;
/* rgb */ color: rgb(155, 38, 138);
/* oklch */ color: oklch(49.2% 0.186 334.7);
Tailwind
colors: {
  custom: {
    50: '#bc6dac',
    500: '#9b268a',
    950: '#000000',
  },
}
SCSS
$custom: #9b268a;
$custom-light: #bc6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b268a",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 308.718,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49175,
    "c": 0.18613,
    "h": 334.7
  },
  "luminance": 0.1019
}

Semantic roles & 50–950 ramp

primary
#9B268A
secondary
#5FBE6D
accent
#E45B44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B268A

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

Preview Lab → · Contrast checker → · Palette generator →

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