#8B2FB4#8B2FB4

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

Color values

HEX#8B2FB4
RGBrgb(139, 47, 180)
HSLhsl(282, 59%, 45%)
HSVhsv(282, 74%, 71%)
CMYKcmyk(22.8%, 73.9%, 0%, 29.4%)
CIE-LABlab(39.27, 58.66, -52.80)
CIE-LCHlch(39.27, 78.93, 318.01°)
OKLaboklab(50.26% 0.1392 -0.1492)
OKLCHoklch(50.26% 0.204 313)
XYZxyz(19.9007, 10.8179, 44.2109)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FB4 #58B42F
analogous
#492FB4 #8B2FB4 #B42F9A
triadic
#8B2FB4 #B48B2F #2FB48B
tetradic
#8B2FB4 #B4492F #58B42F #2F9AB4
square
#8B2FB4 #B4492F #58B42F #2F9AB4
split-complementary
#8B2FB4 #9AB42F #2FB449
monochromatic
#401653 #662283 #8B2FB4 #A94FD1 #C180DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2FB4#FFFFFF#000000##FFFFFF
##8B2FB41.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)
#0058B8
Deuteranopia (green-blind)
#215EB1
Tritanopia (blue-blind)
#874D6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b2fb4;
/* rgb */ color: rgb(139, 47, 180);
/* oklch */ color: oklch(50.3% 0.204 313.0);
Tailwind
colors: {
  custom: {
    50: '#b171cb',
    500: '#8b2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fb4;
$custom-light: #b171cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fb4",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 281.504,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50259,
    "c": 0.20401,
    "h": 313
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

primary
#8B2FB4
secondary
#90C778
accent
#E24676
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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