#8B259A#8B259A

#8B259A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.192 H 322.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8B259A
RGBrgb(139, 37, 154)
HSLhsl(292, 61%, 37%)
HSVhsv(292, 76%, 60%)
CMYKcmyk(9.7%, 76%, 0%, 39.6%)
CIE-LABlab(36.26, 57.21, -42.06)
CIE-LCHlch(36.26, 71.01, 323.68°)
OKLaboklab(47.57% 0.1516 -0.1176)
OKLCHoklch(47.57% 0.192 322.2)
XYZxyz(17.1412, 9.1462, 31.4281)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B259A #349A25
analogous
#51259A #8B259A #9A256E
triadic
#8B259A #9A8B25 #259A8B
tetradic
#8B259A #9A5125 #349A25 #256E9A
square
#8B259A #9A5125 #349A25 #256E9A
split-complementary
#8B259A #6E9A25 #259A51
monochromatic
#320D37 #5E1969 #8B259A #B831CB #C960D9

Accessibility & contrast

On white

7.42
#8B259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8B259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B259A
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B259A#FFFFFF#000000##FFFFFF
##8B259A1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#365997
Tritanopia (blue-blind)
#8D3C5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b259a;
/* rgb */ color: rgb(139, 37, 154);
/* oklch */ color: oklch(47.6% 0.192 322.2);
Tailwind
colors: {
  custom: {
    50: '#b16bb8',
    500: '#8b259a',
    950: '#000000',
  },
}
SCSS
$custom: #8b259a;
$custom-light: #b16bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b259a",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 292.308,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47573,
    "c": 0.19186,
    "h": 322.2
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#8B259A
secondary
#69BE5D
accent
#E44358
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B259A

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

Preview Lab → · Contrast checker → · Palette generator →

#8B259A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva