#8B259E#8B259E

#8B259E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.195 H 320.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8B259E
RGBrgb(139, 37, 158)
HSLhsl(291, 62%, 38%)
HSVhsv(291, 77%, 62%)
CMYKcmyk(12%, 76.6%, 0%, 38%)
CIE-LABlab(36.52, 57.96, -44.08)
CIE-LCHlch(36.52, 72.81, 322.75°)
OKLaboklab(47.84% 0.1512 -0.1235)
OKLCHoklch(47.84% 0.195 320.8)
XYZxyz(17.4799, 9.2817, 33.2119)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B259E #389E25
analogous
#4F259E #8B259E #9E2574
triadic
#8B259E #9E8B25 #259E8B
tetradic
#8B259E #9E4F25 #389E25 #25749E
square
#8B259E #9E4F25 #389E25 #25749E
split-complementary
#8B259E #749E25 #259E4F
monochromatic
#340E3B #5F196C #8B259E #B631CF #C863DA

Accessibility & contrast

On white

7.35
#8B259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8B259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B259E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B259E#FFFFFF#000000##FFFFFF
##8B259E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#33599B
Tritanopia (blue-blind)
#8C3E60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b259e;
/* rgb */ color: rgb(139, 37, 158);
/* oklch */ color: oklch(47.8% 0.195 320.8);
Tailwind
colors: {
  custom: {
    50: '#b16bbb',
    500: '#8b259e',
    950: '#000000',
  },
}
SCSS
$custom: #8b259e;
$custom-light: #b16bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b259e",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 290.579,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47838,
    "c": 0.19525,
    "h": 320.8
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#8B259E
secondary
#6EC05F
accent
#E5435C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B259E

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

Preview Lab → · Contrast checker → · Palette generator →

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