#8B259B#8B259B

#8B259B is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.193 H 321.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8B259B
RGBrgb(139, 37, 155)
HSLhsl(292, 61%, 38%)
HSVhsv(292, 76%, 61%)
CMYKcmyk(10.3%, 76.1%, 0%, 39.2%)
CIE-LABlab(36.33, 57.40, -42.57)
CIE-LCHlch(36.33, 71.46, 323.44°)
OKLaboklab(47.64% 0.1515 -0.1191)
OKLCHoklch(47.64% 0.193 321.8)
XYZxyz(17.2248, 9.1796, 31.8686)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B259B #359B25
analogous
#50259B #8B259B #9B2570
triadic
#8B259B #9B8B25 #259B8B
tetradic
#8B259B #9B5025 #359B25 #25709B
square
#8B259B #9B5025 #359B25 #25709B
split-complementary
#8B259B #709B25 #259B50
monochromatic
#320D38 #5F196A #8B259B #B731CC #C961D9

Accessibility & contrast

On white

7.41
#8B259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8B259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B259B
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B259B#FFFFFF#000000##FFFFFF
##8B259B1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#355998
Tritanopia (blue-blind)
#8C3C5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b259b;
/* rgb */ color: rgb(139, 37, 155);
/* oklch */ color: oklch(47.6% 0.193 321.8);
Tailwind
colors: {
  custom: {
    50: '#b16bb9',
    500: '#8b259b',
    950: '#000000',
  },
}
SCSS
$custom: #8b259b;
$custom-light: #b16bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b259b",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 291.864,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47639,
    "c": 0.1927,
    "h": 321.8
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#8B259B
secondary
#6ABF5D
accent
#E54359
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B259B

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

Preview Lab → · Contrast checker → · Palette generator →

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