#8B22B3#8B22B3

#8B22B3 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.216 H 314.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8B22B3
RGBrgb(139, 34, 179)
HSLhsl(283, 68%, 42%)
HSVhsv(283, 81%, 70%)
CMYKcmyk(22.3%, 81%, 0%, 29.8%)
CIE-LABlab(37.64, 62.95, -54.85)
CIE-LCHlch(37.64, 83.49, 318.93°)
OKLaboklab(49.09% 0.1504 -0.1551)
OKLCHoklch(49.09% 0.216 314.1)
XYZxyz(19.3548, 9.8884, 43.5282)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B22B3 #4AB322
analogous
#4222B3 #8B22B3 #B32293
triadic
#8B22B3 #B38B22 #22B38B
tetradic
#8B22B3 #B34222 #4AB322 #2293B3
square
#8B22B3 #B34222 #4AB322 #2293B3
split-complementary
#8B22B3 #93B322 #22B342
monochromatic
#3B0E4C #631880 #8B22B3 #AD39D9 #C26CE3

Accessibility & contrast

On white

7.05
#8B22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8B22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B22B3
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B22B3#FFFFFF#000000##FFFFFF
##8B22B31.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#125BB0
Tritanopia (blue-blind)
#87466C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b22b3;
/* rgb */ color: rgb(139, 34, 179);
/* oklch */ color: oklch(49.1% 0.216 314.1);
Tailwind
colors: {
  custom: {
    50: '#b26bcb',
    500: '#8b22b3',
    950: '#000000',
  },
}
SCSS
$custom: #8b22b3;
$custom-light: #b26bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b22b3",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 283.448,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49087,
    "c": 0.21606,
    "h": 314.1
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#8B22B3
secondary
#82C968
accent
#EB3D6D
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8B22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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