#8B30B3#8B30B3

#8B30B3 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.3% C 0.202 H 313.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8B30B3
RGBrgb(139, 48, 179)
HSLhsl(282, 58%, 45%)
HSVhsv(282, 73%, 70%)
CMYKcmyk(22.3%, 73.2%, 0%, 29.8%)
CIE-LABlab(39.34, 58.06, -52.10)
CIE-LCHlch(39.34, 78.01, 318.10°)
OKLaboklab(50.29% 0.1383 -0.1471)
OKLCHoklch(50.29% 0.202 313.2)
XYZxyz(19.8397, 10.8582, 43.6898)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30B3 #58B330
analogous
#4930B3 #8B30B3 #B3309A
triadic
#8B30B3 #B38B30 #30B38B
tetradic
#8B30B3 #B34930 #58B330 #309AB3
square
#8B30B3 #B34930 #58B330 #309AB3
split-complementary
#8B30B3 #9AB330 #30B349
monochromatic
#401652 #662383 #8B30B3 #A950D0 #C180DD

Accessibility & contrast

On white

6.62
#8B30B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8B30B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30B3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30B3#FFFFFF#000000##FFFFFF
##8B30B31.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#245FB0
Tritanopia (blue-blind)
#874D6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b30b3;
/* rgb */ color: rgb(139, 48, 179);
/* oklch */ color: oklch(50.3% 0.202 313.2);
Tailwind
colors: {
  custom: {
    50: '#b171ca',
    500: '#8b30b3',
    950: '#000000',
  },
}
SCSS
$custom: #8b30b3;
$custom-light: #b171ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30b3",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 281.679,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50285,
    "c": 0.20195,
    "h": 313.2
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#8B30B3
secondary
#90C679
accent
#E14776
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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