#9B259E#9B259E

#9B259E is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.2% C 0.202 H 327.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9B259E
RGBrgb(155, 37, 158)
HSLhsl(299, 62%, 38%)
HSVhsv(299, 77%, 62%)
CMYKcmyk(1.9%, 76.6%, 0%, 38%)
CIE-LABlab(39.18, 61.29, -39.68)
CIE-LCHlch(39.18, 73.02, 327.08°)
OKLaboklab(50.24% 0.1696 -0.1102)
OKLCHoklch(50.24% 0.202 327)
XYZxyz(20.3504, 10.7618, 33.3465)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B259E #289E25
analogous
#5E259E #9B259E #9E2565
triadic
#9B259E #9E9B25 #259E9B
tetradic
#9B259E #9E5E25 #289E25 #25659E
square
#9B259E #9E5E25 #289E25 #25659E
split-complementary
#9B259E #659E25 #259E5E
monochromatic
#3A0E3B #6A196C #9B259E #CB31CF #D763DA

Accessibility & contrast

On white

6.66
#9B259E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9B259E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B259E
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B259E#FFFFFF#000000##FFFFFF
##9B259E1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#44619B
Tritanopia (blue-blind)
#9F3A60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b259e;
/* rgb */ color: rgb(155, 37, 158);
/* oklch */ color: oklch(50.2% 0.202 327.0);
Tailwind
colors: {
  custom: {
    50: '#bc6ebb',
    500: '#9b259e',
    950: '#000000',
  },
}
SCSS
$custom: #9b259e;
$custom-light: #bc6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b259e",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 298.512,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50242,
    "c": 0.20225,
    "h": 327
  },
  "luminance": 0.1076
}

Semantic roles & 50–950 ramp

primary
#9B259E
secondary
#61C05F
accent
#E54347
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B259E

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

Preview Lab → · Contrast checker → · Palette generator →

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