#9B259B#9B259B

#9B259B is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.200 H 328.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9B259B
RGBrgb(155, 37, 155)
HSLhsl(300, 61%, 38%)
HSVhsv(300, 76%, 61%)
CMYKcmyk(0%, 76.1%, 0%, 39.2%)
CIE-LABlab(39.00, 60.79, -38.15)
CIE-LCHlch(39.00, 71.77, 327.89°)
OKLaboklab(50.06% 0.1697 -0.1058)
OKLCHoklch(50.06% 0.2 328.1)
XYZxyz(20.0953, 10.6597, 32.0031)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B259B #259B25
analogous
#60259B #9B259B #9B2560
triadic
#9B259B #9B9B25 #259B9B
tetradic
#9B259B #9B6025 #259B25 #25609B
square
#9B259B #9B6025 #259B25 #25609B
split-complementary
#9B259B #609B25 #259B60
monochromatic
#380D38 #6A196A #9B259B #CC31CC #D961D9

Accessibility & contrast

On white

6.71
#9B259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9B259B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B259B
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B259B#FFFFFF#000000##FFFFFF
##9B259B1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07529E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#A0385F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b259b;
/* rgb */ color: rgb(155, 37, 155);
/* oklch */ color: oklch(50.1% 0.200 328.1);
Tailwind
colors: {
  custom: {
    50: '#bc6db9',
    500: '#9b259b',
    950: '#000000',
  },
}
SCSS
$custom: #9b259b;
$custom-light: #bc6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b259b",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 300,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50061,
    "c": 0.19992,
    "h": 328.1
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#9B259B
secondary
#5DBF5D
accent
#E54343
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B259B

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

Preview Lab → · Contrast checker → · Palette generator →

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