#8B2EAF#8B2EAF

#8B2EAF is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.201 H 314.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8B2EAF
RGBrgb(139, 46, 175)
HSLhsl(283, 58%, 43%)
HSVhsv(283, 74%, 69%)
CMYKcmyk(20.6%, 73.7%, 0%, 31.4%)
CIE-LABlab(38.79, 58.02, -50.61)
CIE-LCHlch(38.79, 76.99, 318.90°)
OKLaboklab(49.81% 0.1408 -0.1427)
OKLCHoklch(49.81% 0.201 314.6)
XYZxyz(19.3610, 10.5388, 41.5634)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2EAF #52AF2E
analogous
#4A2EAF #8B2EAF #AF2E92
triadic
#8B2EAF #AF8B2E #2EAF8B
tetradic
#8B2EAF #AF4A2E #52AF2E #2E92AF
square
#8B2EAF #AF4A2E #52AF2E #2E92AF
split-complementary
#8B2EAF #92AF2E #2EAF4A
monochromatic
#3E154E #65217F #8B2EAF #AA4BD0 #C17BDC

Accessibility & contrast

On white

6.76
#8B2EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8B2EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2EAF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2EAF#FFFFFF#000000##FFFFFF
##8B2EAF1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#275EAC
Tritanopia (blue-blind)
#884A6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b2eaf;
/* rgb */ color: rgb(139, 46, 175);
/* oklch */ color: oklch(49.8% 0.201 314.6);
Tailwind
colors: {
  custom: {
    50: '#b170c8',
    500: '#8b2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #8b2eaf;
$custom-light: #b170c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2eaf",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 283.256,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4981,
    "c": 0.20051,
    "h": 314.6
  },
  "luminance": 0.10538
}

Semantic roles & 50–950 ramp

primary
#8B2EAF
secondary
#8BC574
accent
#E24672
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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