#9B259F#9B259F

#9B259F is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.203 H 326.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9B259F
RGBrgb(155, 37, 159)
HSLhsl(298, 62%, 38%)
HSVhsv(298, 77%, 62%)
CMYKcmyk(2.5%, 76.7%, 0%, 37.6%)
CIE-LABlab(39.24, 61.46, -40.19)
CIE-LCHlch(39.24, 73.43, 326.82°)
OKLaboklab(50.3% 0.1695 -0.1117)
OKLCHoklch(50.3% 0.203 326.6)
XYZxyz(20.4368, 10.7963, 33.8017)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B259F #299F25
analogous
#5E259F #9B259F #9F2566
triadic
#9B259F #9F9B25 #259F9B
tetradic
#9B259F #9F5E25 #299F25 #25669F
square
#9B259F #9F5E25 #299F25 #25669F
split-complementary
#9B259F #669F25 #259F5E
monochromatic
#3A0E3C #6B196D #9B259F #CA32CF #D764DB

Accessibility & contrast

On white

6.65
#9B259F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9B259F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B259F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B259F#FFFFFF#000000##FFFFFF
##9B259F1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#44619C
Tritanopia (blue-blind)
#9F3A61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b259f;
/* rgb */ color: rgb(155, 37, 159);
/* oklch */ color: oklch(50.3% 0.203 326.6);
Tailwind
colors: {
  custom: {
    50: '#bc6ebc',
    500: '#9b259f',
    950: '#000000',
  },
}
SCSS
$custom: #9b259f;
$custom-light: #bc6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b259f",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 298.033,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50303,
    "c": 0.20303,
    "h": 326.6
  },
  "luminance": 0.10795
}

Semantic roles & 50–950 ramp

primary
#9B259F
secondary
#63C05F
accent
#E54248
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B259F

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

Preview Lab → · Contrast checker → · Palette generator →

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