#8B258F#8B258F

#8B258F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.183 H 326.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8B258F
RGBrgb(139, 37, 143)
HSLhsl(298, 59%, 35%)
HSVhsv(298, 74%, 56%)
CMYKcmyk(2.8%, 74.1%, 0%, 43.9%)
CIE-LABlab(35.59, 55.23, -36.43)
CIE-LCHlch(35.59, 66.17, 326.60°)
OKLaboklab(46.88% 0.1521 -0.1012)
OKLCHoklch(46.88% 0.183 326.4)
XYZxyz(16.2666, 8.7964, 26.8224)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B258F #298F25
analogous
#56258F #8B258F #8F255E
triadic
#8B258F #8F8B25 #258F8B
tetradic
#8B258F #8F5625 #298F25 #255E8F
square
#8B258F #8F5625 #298F25 #255E8F
split-complementary
#8B258F #5E8F25 #258F56
monochromatic
#2C0C2E #5C185E #8B258F #BA32C0 #D05AD4

Accessibility & contrast

On white

7.61
#8B258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8B258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B258F
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B258F#FFFFFF#000000##FFFFFF
##8B258F1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084C92
Deuteranopia (green-blind)
#3E588C
Tritanopia (blue-blind)
#8F3658
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b258f;
/* rgb */ color: rgb(139, 37, 143);
/* oklch */ color: oklch(46.9% 0.183 326.4);
Tailwind
colors: {
  custom: {
    50: '#b06bb0',
    500: '#8b258f',
    950: '#000000',
  },
}
SCSS
$custom: #8b258f;
$custom-light: #b06bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b258f",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 297.736,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46875,
    "c": 0.18269,
    "h": 326.4
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#8B258F
secondary
#5BB957
accent
#E2464C
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B258F

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

Preview Lab → · Contrast checker → · Palette generator →

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