#8B25B3#8B25B3

#8B25B3 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.213 H 314.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8B25B3
RGBrgb(139, 37, 179)
HSLhsl(283, 66%, 42%)
HSVhsv(283, 79%, 70%)
CMYKcmyk(22.3%, 79.3%, 0%, 29.8%)
CIE-LABlab(37.96, 62.02, -54.33)
CIE-LCHlch(37.96, 82.45, 318.78°)
OKLaboklab(49.31% 0.1481 -0.1536)
OKLCHoklch(49.31% 0.213 314)
XYZxyz(19.4443, 10.0674, 43.5580)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B25B3 #4DB325
analogous
#4425B3 #8B25B3 #B32594
triadic
#8B25B3 #B38B25 #25B38B
tetradic
#8B25B3 #B34425 #4DB325 #2594B3
square
#8B25B3 #B34425 #4DB325 #2594B3
split-complementary
#8B25B3 #94B325 #25B344
monochromatic
#3C104E #641B80 #8B25B3 #AC3ED7 #C271E2

Accessibility & contrast

On white

6.97
#8B25B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8B25B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B25B3
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B25B3#FFFFFF#000000##FFFFFF
##8B25B31.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#165CB0
Tritanopia (blue-blind)
#87476C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b25b3;
/* rgb */ color: rgb(139, 37, 179);
/* oklch */ color: oklch(49.3% 0.213 314.0);
Tailwind
colors: {
  custom: {
    50: '#b26ccb',
    500: '#8b25b3',
    950: '#000000',
  },
}
SCSS
$custom: #8b25b3;
$custom-light: #b26ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b25b3",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 283.099,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49313,
    "c": 0.21337,
    "h": 314
  },
  "luminance": 0.10067
}

Semantic roles & 50–950 ramp

primary
#8B25B3
secondary
#86C86B
accent
#E93F6F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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