#9B259C#9B259C

#9B259C is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.201 H 327.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9B259C
RGBrgb(155, 37, 156)
HSLhsl(299, 62%, 38%)
HSVhsv(299, 76%, 61%)
CMYKcmyk(0.6%, 76.3%, 0%, 38.8%)
CIE-LABlab(39.06, 60.96, -38.66)
CIE-LCHlch(39.06, 72.18, 327.62°)
OKLaboklab(50.12% 0.1696 -0.1072)
OKLCHoklch(50.12% 0.201 327.7)
XYZxyz(20.1796, 10.6935, 32.4472)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B259C #269C25
analogous
#60259C #9B259C #9C2561
triadic
#9B259C #9C9B25 #259C9B
tetradic
#9B259C #9C6025 #269C25 #25619C
square
#9B259C #9C6025 #269C25 #25619C
split-complementary
#9B259C #619C25 #259C60
monochromatic
#390E39 #6A196B #9B259C #CC31CD #D962DA

Accessibility & contrast

On white

6.69
#9B259C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9B259C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B259C
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B259C#FFFFFF#000000##FFFFFF
##9B259C1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04529F
Deuteranopia (green-blind)
#466199
Tritanopia (blue-blind)
#A0395F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b259c;
/* rgb */ color: rgb(155, 37, 156);
/* oklch */ color: oklch(50.1% 0.201 327.7);
Tailwind
colors: {
  custom: {
    50: '#bc6dba',
    500: '#9b259c',
    950: '#000000',
  },
}
SCSS
$custom: #9b259c;
$custom-light: #bc6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9b259c",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 299.496,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50121,
    "c": 0.2007,
    "h": 327.7
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#9B259C
secondary
#5FBF5E
accent
#E54344
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B259C

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

Preview Lab → · Contrast checker → · Palette generator →

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