#8B2FB2#8B2FB2

#8B2FB2 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.202 H 313.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8B2FB2
RGBrgb(139, 47, 178)
HSLhsl(282, 58%, 44%)
HSVhsv(282, 74%, 70%)
CMYKcmyk(21.9%, 73.6%, 0%, 30.2%)
CIE-LABlab(39.13, 58.25, -51.84)
CIE-LCHlch(39.13, 77.98, 318.33°)
OKLaboklab(50.12% 0.1394 -0.1464)
OKLCHoklch(50.12% 0.202 313.6)
XYZxyz(19.6985, 10.7370, 43.1456)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FB2 #56B22F
analogous
#492FB2 #8B2FB2 #B22F98
triadic
#8B2FB2 #B28B2F #2FB28B
tetradic
#8B2FB2 #B2492F #56B22F #2F98B2
square
#8B2FB2 #B2492F #56B22F #2F98B2
split-complementary
#8B2FB2 #98B22F #2FB249
monochromatic
#3F1551 #652282 #8B2FB2 #A94ED0 #C17EDD

Accessibility & contrast

On white

6.67
#8B2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8B2FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FB2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FB2#FFFFFF#000000##FFFFFF
##8B2FB21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#245EAF
Tritanopia (blue-blind)
#874C6E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b2fb2;
/* rgb */ color: rgb(139, 47, 178);
/* oklch */ color: oklch(50.1% 0.202 313.6);
Tailwind
colors: {
  custom: {
    50: '#b171ca',
    500: '#8b2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fb2;
$custom-light: #b171ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fb2",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 282.137,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50117,
    "c": 0.20215,
    "h": 313.6
  },
  "luminance": 0.10736
}

Semantic roles & 50–950 ramp

primary
#8B2FB2
secondary
#8EC677
accent
#E14675
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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