#8B25B4#8B25B4

#8B25B4 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.214 H 313.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8B25B4
RGBrgb(139, 37, 180)
HSLhsl(283, 66%, 43%)
HSVhsv(283, 79%, 71%)
CMYKcmyk(22.8%, 79.4%, 0%, 29.4%)
CIE-LABlab(38.04, 62.21, -54.80)
CIE-LCHlch(38.04, 82.91, 318.62°)
OKLaboklab(49.39% 0.1479 -0.155)
OKLCHoklch(49.39% 0.214 313.7)
XYZxyz(19.5458, 10.1080, 44.0926)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B25B4 #4EB425
analogous
#4325B4 #8B25B4 #B42596
triadic
#8B25B4 #B48B25 #25B48B
tetradic
#8B25B4 #B44325 #4EB425 #2596B4
square
#8B25B4 #B44325 #4EB425 #2596B4
split-complementary
#8B25B4 #96B425 #25B443
monochromatic
#3D104E #641B81 #8B25B4 #AC3FD7 #C271E2

Accessibility & contrast

On white

6.95
#8B25B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8B25B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B25B4
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B25B4#FFFFFF#000000##FFFFFF
##8B25B41.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#135CB1
Tritanopia (blue-blind)
#87486D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b25b4;
/* rgb */ color: rgb(139, 37, 180);
/* oklch */ color: oklch(49.4% 0.214 313.7);
Tailwind
colors: {
  custom: {
    50: '#b26ccb',
    500: '#8b25b4',
    950: '#000000',
  },
}
SCSS
$custom: #8b25b4;
$custom-light: #b26ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b25b4",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 180
  },
  "hsl": {
    "h": 282.797,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49387,
    "c": 0.21424,
    "h": 313.7
  },
  "luminance": 0.10107
}

Semantic roles & 50–950 ramp

primary
#8B25B4
secondary
#87C96C
accent
#E93F70
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B25B4

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

Preview Lab → · Contrast checker → · Palette generator →

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