#9B268B#9B268B

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

Color values

HEX#9B268B
RGBrgb(155, 38, 139)
HSLhsl(308, 61%, 38%)
HSVhsv(308, 75%, 61%)
CMYKcmyk(0%, 75.5%, 10.3%, 39.2%)
CIE-LABlab(38.24, 57.92, -29.61)
CIE-LCHlch(38.24, 65.05, 332.92°)
OKLaboklab(49.23% 0.1684 -0.0811)
OKLCHoklch(49.23% 0.187 334.3)
XYZxyz(18.8711, 10.2205, 25.4000)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B268B #269B36
analogous
#70269B #9B268B #9B2650
triadic
#9B268B #8B9B26 #268B9B
tetradic
#9B268B #9B7026 #269B36 #26509B
square
#9B268B #9B7026 #269B36 #26509B
split-complementary
#9B268B #509B26 #269B70
monochromatic
#390E33 #6A1A5F #9B268B #CC32B7 #D963C9

Accessibility & contrast

On white

6.90
#9B268B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B268B
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B268B#FFFFFF#000000##FFFFFF
##9B268B1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#A33156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b268b;
/* rgb */ color: rgb(155, 38, 139);
/* oklch */ color: oklch(49.2% 0.187 334.3);
Tailwind
colors: {
  custom: {
    50: '#bc6dad',
    500: '#9b268b',
    950: '#000000',
  },
}
SCSS
$custom: #9b268b;
$custom-light: #bc6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#9b268b",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 308.205,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49229,
    "c": 0.18685,
    "h": 334.3
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#9B268B
secondary
#5FBE6C
accent
#E45A44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B268B

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

Preview Lab → · Contrast checker → · Palette generator →

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