#8B2FAF#8B2FAF

#8B2FAF is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.199 H 314.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8B2FAF
RGBrgb(139, 47, 175)
HSLhsl(283, 58%, 44%)
HSVhsv(283, 73%, 69%)
CMYKcmyk(20.6%, 73.1%, 0%, 31.4%)
CIE-LABlab(38.93, 57.63, -50.39)
CIE-LCHlch(38.93, 76.55, 318.83°)
OKLaboklab(49.91% 0.1398 -0.1421)
OKLCHoklch(49.91% 0.199 314.5)
XYZxyz(19.4005, 10.6178, 41.5766)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FAF #53AF2F
analogous
#4B2FAF #8B2FAF #AF2F93
triadic
#8B2FAF #AF8B2F #2FAF8B
tetradic
#8B2FAF #AF4B2F #53AF2F #2F93AF
square
#8B2FAF #AF4B2F #53AF2F #2F93AF
split-complementary
#8B2FAF #93AF2F #2FAF4B
monochromatic
#3E154F #65227F #8B2FAF #AA4CCF #C17CDC

Accessibility & contrast

On white

6.72
#8B2FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8B2FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FAF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FAF#FFFFFF#000000##FFFFFF
##8B2FAF1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#884B6C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b2faf;
/* rgb */ color: rgb(139, 47, 175);
/* oklch */ color: oklch(49.9% 0.199 314.5);
Tailwind
colors: {
  custom: {
    50: '#b170c8',
    500: '#8b2faf',
    950: '#000000',
  },
}
SCSS
$custom: #8b2faf;
$custom-light: #b170c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2faf",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 283.125,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49907,
    "c": 0.19937,
    "h": 314.5
  },
  "luminance": 0.10617
}

Semantic roles & 50–950 ramp

primary
#8B2FAF
secondary
#8CC475
accent
#E14772
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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