#8B28AF#8B28AF

#8B28AF is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.207 H 315.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8B28AF
RGBrgb(139, 40, 175)
HSLhsl(284, 63%, 42%)
HSVhsv(284, 77%, 69%)
CMYKcmyk(20.6%, 77.1%, 0%, 31.4%)
CIE-LABlab(38.03, 60.22, -51.85)
CIE-LCHlch(38.03, 79.46, 319.27°)
OKLaboklab(49.27% 0.1463 -0.1463)
OKLCHoklch(49.27% 0.207 315)
XYZxyz(19.1428, 10.1024, 41.4907)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B28AF #4CAF28
analogous
#4828AF #8B28AF #AF2890
triadic
#8B28AF #AF8B28 #28AF8B
tetradic
#8B28AF #AF4828 #4CAF28 #2890AF
square
#8B28AF #AF4828 #4CAF28 #2890AF
split-complementary
#8B28AF #90AF28 #28AF48
monochromatic
#3C114B #631D7D #8B28AF #AC41D4 #C273DF

Accessibility & contrast

On white

6.95
#8B28AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8B28AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B28AF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B28AF#FFFFFF#000000##FFFFFF
##8B28AF1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#215CAC
Tritanopia (blue-blind)
#88476B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b28af;
/* rgb */ color: rgb(139, 40, 175);
/* oklch */ color: oklch(49.3% 0.207 315.0);
Tailwind
colors: {
  custom: {
    50: '#b16dc8',
    500: '#8b28af',
    950: '#000000',
  },
}
SCSS
$custom: #8b28af;
$custom-light: #b16dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b28af",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 284,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49267,
    "c": 0.20694,
    "h": 315
  },
  "luminance": 0.10102
}

Semantic roles & 50–950 ramp

primary
#8B28AF
secondary
#85C66D
accent
#E6426E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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