#8B28B3#8B28B3

#8B28B3 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.210 H 313.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8B28B3
RGBrgb(139, 40, 179)
HSLhsl(283, 63%, 43%)
HSVhsv(283, 78%, 70%)
CMYKcmyk(22.3%, 77.7%, 0%, 29.8%)
CIE-LABlab(38.31, 61.02, -53.77)
CIE-LCHlch(38.31, 81.33, 318.61°)
OKLaboklab(49.56% 0.1456 -0.152)
OKLCHoklch(49.56% 0.21 313.8)
XYZxyz(19.5415, 10.2619, 43.5904)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B28B3 #50B328
analogous
#4628B3 #8B28B3 #B32895
triadic
#8B28B3 #B38B28 #28B38B
tetradic
#8B28B3 #B34628 #50B328 #2895B3
square
#8B28B3 #B34628 #50B328 #2895B3
split-complementary
#8B28B3 #95B328 #28B346
monochromatic
#3D124F #641D81 #8B28B3 #AB43D5 #C175E0

Accessibility & contrast

On white

6.88
#8B28B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8B28B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B28B3
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B28B3#FFFFFF#000000##FFFFFF
##8B28B31.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#1A5CB0
Tritanopia (blue-blind)
#87496D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b28b3;
/* rgb */ color: rgb(139, 40, 179);
/* oklch */ color: oklch(49.6% 0.210 313.8);
Tailwind
colors: {
  custom: {
    50: '#b16ecb',
    500: '#8b28b3',
    950: '#000000',
  },
}
SCSS
$custom: #8b28b3;
$custom-light: #b16ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b28b3",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 282.734,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49556,
    "c": 0.21049,
    "h": 313.8
  },
  "luminance": 0.10261
}

Semantic roles & 50–950 ramp

primary
#8B28B3
secondary
#89C86F
accent
#E64171
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B28B3

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

Preview Lab → · Contrast checker → · Palette generator →

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