#8B28B5#8B28B5

#8B28B5 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.212 H 313.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8B28B5
RGBrgb(139, 40, 181)
HSLhsl(282, 64%, 43%)
HSVhsv(282, 78%, 71%)
CMYKcmyk(23.2%, 77.9%, 0%, 29%)
CIE-LABlab(38.45, 61.42, -54.72)
CIE-LCHlch(38.45, 82.26, 318.30°)
OKLaboklab(49.7% 0.1453 -0.1548)
OKLCHoklch(49.7% 0.212 313.2)
XYZxyz(19.7453, 10.3434, 44.6634)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B28B5 #52B528
analogous
#4528B5 #8B28B5 #B52898
triadic
#8B28B5 #B58B28 #28B58B
tetradic
#8B28B5 #B54528 #52B528 #2898B5
square
#8B28B5 #B54528 #52B528 #2898B5
split-complementary
#8B28B5 #98B528 #28B545
monochromatic
#3E1251 #651D83 #8B28B5 #AA44D6 #C177E1

Accessibility & contrast

On white

6.84
#8B28B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8B28B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B28B5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B28B5#FFFFFF#000000##FFFFFF
##8B28B51.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#165DB2
Tritanopia (blue-blind)
#864A6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b28b5;
/* rgb */ color: rgb(139, 40, 181);
/* oklch */ color: oklch(49.7% 0.212 313.2);
Tailwind
colors: {
  custom: {
    50: '#b26ecc',
    500: '#8b28b5',
    950: '#000000',
  },
}
SCSS
$custom: #8b28b5;
$custom-light: #b26ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b28b5",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 282.128,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49702,
    "c": 0.21227,
    "h": 313.2
  },
  "luminance": 0.10343
}

Semantic roles & 50–950 ramp

primary
#8B28B5
secondary
#8BC870
accent
#E74172
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B28B5

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

Preview Lab → · Contrast checker → · Palette generator →

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