#8B258D#8B258D

#8B258D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.181 H 327.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8B258D
RGBrgb(139, 37, 141)
HSLhsl(299, 58%, 35%)
HSVhsv(299, 74%, 55%)
CMYKcmyk(1.4%, 73.8%, 0%, 44.7%)
CIE-LABlab(35.47, 54.89, -35.39)
CIE-LCHlch(35.47, 65.30, 327.19°)
OKLaboklab(46.75% 0.1521 -0.0982)
OKLCHoklch(46.75% 0.181 327.2)
XYZxyz(16.1165, 8.7363, 26.0316)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B258D #278D25
analogous
#57258D #8B258D #8D255B
triadic
#8B258D #8D8B25 #258D8B
tetradic
#8B258D #8D5725 #278D25 #255B8D
square
#8B258D #8D5725 #278D25 #255B8D
split-complementary
#8B258D #5B8D25 #258D57
monochromatic
#2B0C2C #5B185D #8B258D #BB32BD #D159D3

Accessibility & contrast

On white

7.64
#8B258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8B258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B258D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B258D#FFFFFF#000000##FFFFFF
##8B258D1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4B90
Deuteranopia (green-blind)
#3F588A
Tritanopia (blue-blind)
#8F3657
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b258d;
/* rgb */ color: rgb(139, 37, 141);
/* oklch */ color: oklch(46.8% 0.181 327.2);
Tailwind
colors: {
  custom: {
    50: '#b06baf',
    500: '#8b258d',
    950: '#000000',
  },
}
SCSS
$custom: #8b258d;
$custom-light: #b06baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b258d",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 298.846,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46753,
    "c": 0.18106,
    "h": 327.2
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#8B258D
secondary
#58B856
accent
#E24649
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B258D

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

Preview Lab → · Contrast checker → · Palette generator →

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