#8B2BAF#8B2BAF

#8B2BAF is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.204 H 314.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8B2BAF
RGBrgb(139, 43, 175)
HSLhsl(284, 61%, 43%)
HSVhsv(284, 75%, 69%)
CMYKcmyk(20.6%, 75.4%, 0%, 31.4%)
CIE-LABlab(38.40, 59.15, -51.25)
CIE-LCHlch(38.40, 78.26, 319.09°)
OKLaboklab(49.53% 0.1436 -0.1446)
OKLCHoklch(49.53% 0.204 314.8)
XYZxyz(19.2479, 10.3126, 41.5257)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BAF #4FAF2B
analogous
#492BAF #8B2BAF #AF2B91
triadic
#8B2BAF #AF8B2B #2BAF8B
tetradic
#8B2BAF #AF492B #4FAF2B #2B91AF
square
#8B2BAF #AF492B #4FAF2B #2B91AF
split-complementary
#8B2BAF #91AF2B #2BAF49
monochromatic
#3D134D #641F7E #8B2BAF #AB46D1 #C277DE

Accessibility & contrast

On white

6.86
#8B2BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8B2BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BAF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BAF#FFFFFF#000000##FFFFFF
##8B2BAF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#245DAC
Tritanopia (blue-blind)
#88486B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2baf;
/* rgb */ color: rgb(139, 43, 175);
/* oklch */ color: oklch(49.5% 0.204 314.8);
Tailwind
colors: {
  custom: {
    50: '#b16fc8',
    500: '#8b2baf',
    950: '#000000',
  },
}
SCSS
$custom: #8b2baf;
$custom-light: #b16fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2baf",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 283.636,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4953,
    "c": 0.20382,
    "h": 314.8
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#8B2BAF
secondary
#88C570
accent
#E44470
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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