#8B25C6#8B25C6

#8B25C6 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.8% C 0.230 H 308.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8B25C6
RGBrgb(139, 37, 198)
HSLhsl(278, 69%, 46%)
HSVhsv(278, 81%, 78%)
CMYKcmyk(29.8%, 81.3%, 0%, 22.4%)
CIE-LABlab(39.39, 65.88, -63.18)
CIE-LCHlch(39.39, 91.28, 316.20°)
OKLaboklab(50.76% 0.1438 -0.1796)
OKLCHoklch(50.76% 0.23 308.7)
XYZxyz(21.5000, 10.8897, 54.3844)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B25C6 #60C625
analogous
#3A25C6 #8B25C6 #C625B0
triadic
#8B25C6 #C68B25 #25C68B
tetradic
#8B25C6 #C63A25 #60C625 #25B0C6
square
#8B25C6 #C63A25 #60C625 #25B0C6
split-complementary
#8B25C6 #B0C625 #25C63A
monochromatic
#43125F #671B92 #8B25C6 #A84BDD #C17EE7

Accessibility & contrast

On white

6.61
#8B25C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8B25C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B25C6
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B25C6#FFFFFF#000000##FFFFFF
##8B25C61.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#825077
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b25c6;
/* rgb */ color: rgb(139, 37, 198);
/* oklch */ color: oklch(50.8% 0.230 308.7);
Tailwind
colors: {
  custom: {
    50: '#b36dd8',
    500: '#8b25c6',
    950: '#000000',
  },
}
SCSS
$custom: #8b25c6;
$custom-light: #b36dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b25c6",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 278.012,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50761,
    "c": 0.23007,
    "h": 308.7
  },
  "luminance": 0.10889
}

Semantic roles & 50–950 ramp

primary
#8B25C6
secondary
#98CF77
accent
#EB3C7D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8B25C6

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

Preview Lab → · Contrast checker → · Palette generator →

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