#8B258E#8B258E

#8B258E is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.182 H 326.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8B258E
RGBrgb(139, 37, 142)
HSLhsl(298, 59%, 35%)
HSVhsv(298, 74%, 56%)
CMYKcmyk(2.1%, 73.9%, 0%, 44.3%)
CIE-LABlab(35.53, 55.06, -35.91)
CIE-LCHlch(35.53, 65.73, 326.89°)
OKLaboklab(46.81% 0.1521 -0.0997)
OKLCHoklch(46.81% 0.182 326.8)
XYZxyz(16.1912, 8.7662, 26.4252)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B258E #288E25
analogous
#57258E #8B258E #8E255C
triadic
#8B258E #8E8B25 #258E8B
tetradic
#8B258E #8E5725 #288E25 #255C8E
square
#8B258E #8E5725 #288E25 #255C8E
split-complementary
#8B258E #5C8E25 #258E57
monochromatic
#2C0C2D #5B185D #8B258E #BB32BF #D05AD4

Accessibility & contrast

On white

7.63
#8B258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B258E
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B258E#FFFFFF#000000##FFFFFF
##8B258E1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B91
Deuteranopia (green-blind)
#3F588B
Tritanopia (blue-blind)
#8F3657
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b258e;
/* rgb */ color: rgb(139, 37, 142);
/* oklch */ color: oklch(46.8% 0.182 326.8);
Tailwind
colors: {
  custom: {
    50: '#b06baf',
    500: '#8b258e',
    950: '#000000',
  },
}
SCSS
$custom: #8b258e;
$custom-light: #b06baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b258e",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 298.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46814,
    "c": 0.18188,
    "h": 326.8
  },
  "luminance": 0.08765
}

Semantic roles & 50–950 ramp

primary
#8B258E
secondary
#59B956
accent
#E2464A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B258E

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

Preview Lab → · Contrast checker → · Palette generator →

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