#8B258B#8B258B

#8B258B is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.179 H 328.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8B258B
RGBrgb(139, 37, 139)
HSLhsl(300, 58%, 35%)
HSVhsv(300, 73%, 55%)
CMYKcmyk(0%, 73.4%, 0%, 45.5%)
CIE-LABlab(35.36, 54.54, -34.34)
CIE-LCHlch(35.36, 64.45, 327.80°)
OKLaboklab(46.63% 0.1522 -0.0951)
OKLCHoklch(46.63% 0.179 328)
XYZxyz(15.9690, 8.6773, 25.2549)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B258B #258B25
analogous
#58258B #8B258B #8B2558
triadic
#8B258B #8B8B25 #258B8B
tetradic
#8B258B #8B5825 #258B25 #25588B
square
#8B258B #8B5825 #258B25 #25588B
split-complementary
#8B258B #588B25 #258B58
monochromatic
#2A0B2A #5B185B #8B258B #BB32BB #D358D3

Accessibility & contrast

On white

7.68
#8B258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8B258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B258B
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B258B#FFFFFF#000000##FFFFFF
##8B258B1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8E
Deuteranopia (green-blind)
#405888
Tritanopia (blue-blind)
#8F3556
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b258b;
/* rgb */ color: rgb(139, 37, 139);
/* oklch */ color: oklch(46.6% 0.179 328.0);
Tailwind
colors: {
  custom: {
    50: '#b06aad',
    500: '#8b258b',
    950: '#000000',
  },
}
SCSS
$custom: #8b258b;
$custom-light: #b06aad;
$custom-dark: #000000;
JSON
{
  "hex": "#8b258b",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 300,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46633,
    "c": 0.17944,
    "h": 328
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#8B258B
secondary
#55B755
accent
#E14747
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B258B

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

Preview Lab → · Contrast checker → · Palette generator →

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