#8B30B2#8B30B2

#8B30B2 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.2% C 0.201 H 313.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8B30B2
RGBrgb(139, 48, 178)
HSLhsl(282, 58%, 44%)
HSVhsv(282, 73%, 70%)
CMYKcmyk(21.9%, 73%, 0%, 30.2%)
CIE-LABlab(39.27, 57.85, -51.62)
CIE-LCHlch(39.27, 77.53, 318.26°)
OKLaboklab(50.22% 0.1385 -0.1457)
OKLCHoklch(50.22% 0.201 313.5)
XYZxyz(19.7389, 10.8179, 43.1591)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30B2 #57B230
analogous
#4A30B2 #8B30B2 #B23098
triadic
#8B30B2 #B28B30 #30B28B
tetradic
#8B30B2 #B24A30 #57B230 #3098B2
square
#8B30B2 #B24A30 #57B230 #3098B2
split-complementary
#8B30B2 #98B230 #30B24A
monochromatic
#401652 #652382 #8B30B2 #A950D0 #C180DD

Accessibility & contrast

On white

6.64
#8B30B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8B30B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30B2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30B2#FFFFFF#000000##FFFFFF
##8B30B21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#255FAF
Tritanopia (blue-blind)
#874C6E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b30b2;
/* rgb */ color: rgb(139, 48, 178);
/* oklch */ color: oklch(50.2% 0.201 313.5);
Tailwind
colors: {
  custom: {
    50: '#b171ca',
    500: '#8b30b2',
    950: '#000000',
  },
}
SCSS
$custom: #8b30b2;
$custom-light: #b171ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30b2",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 282,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50215,
    "c": 0.201,
    "h": 313.5
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

primary
#8B30B2
secondary
#8FC678
accent
#E14775
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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