#8B30A2#8B30A2

#8B30A2 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.186 H 318.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8B30A2
RGBrgb(139, 48, 162)
HSLhsl(288, 54%, 41%)
HSVhsv(288, 70%, 64%)
CMYKcmyk(14.2%, 70.4%, 0%, 36.5%)
CIE-LABlab(38.22, 54.61, -43.76)
CIE-LCHlch(38.22, 69.98, 321.29°)
OKLaboklab(49.13% 0.14 -0.1227)
OKLCHoklch(49.13% 0.186 318.8)
XYZxyz(18.2251, 10.2123, 35.1866)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30A2 #47A230
analogous
#5230A2 #8B30A2 #A23080
triadic
#8B30A2 #A28B30 #30A28B
tetradic
#8B30A2 #A25230 #47A230 #3080A2
square
#8B30A2 #A25230 #47A230 #3080A2
split-complementary
#8B30A2 #80A230 #30A252
monochromatic
#3A1444 #622273 #8B30A2 #AE47C8 #C376D6

Accessibility & contrast

On white

6.90
#8B30A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8B30A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30A2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30A2#FFFFFF#000000##FFFFFF
##8B30A21.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#375D9F
Tritanopia (blue-blind)
#8B4665
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b30a2;
/* rgb */ color: rgb(139, 48, 162);
/* oklch */ color: oklch(49.1% 0.186 318.8);
Tailwind
colors: {
  custom: {
    50: '#b070be',
    500: '#8b30a2',
    950: '#000000',
  },
}
SCSS
$custom: #8b30a2;
$custom-light: #b070be;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30a2",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 287.895,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4913,
    "c": 0.18615,
    "h": 318.8
  },
  "luminance": 0.10212
}

Semantic roles & 50–950 ramp

primary
#8B30A2
secondary
#7FBE6F
accent
#DE4A68
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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