#8A1BB0#8A1BB0

#8A1BB0 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.3% C 0.219 H 315.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8A1BB0
RGBrgb(138, 27, 176)
HSLhsl(285, 73%, 40%)
HSVhsv(285, 85%, 69%)
CMYKcmyk(21.6%, 84.7%, 0%, 31%)
CIE-LABlab(36.60, 64.14, -54.76)
CIE-LCHlch(36.60, 84.33, 319.51°)
OKLaboklab(48.26% 0.1546 -0.1548)
OKLCHoklch(48.26% 0.219 315)
XYZxyz(18.7083, 9.3224, 41.8798)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1BB0 #41B01B
analogous
#401BB0 #8A1BB0 #B01B8C
triadic
#8A1BB0 #B08A1B #1BB08A
tetradic
#8A1BB0 #B0401B #41B01B #1B8CB0
square
#8A1BB0 #B0401B #41B01B #1B8CB0
split-complementary
#8A1BB0 #8CB01B #1BB040
monochromatic
#370B46 #60137B #8A1BB0 #B02ADE #C45FE6

Accessibility & contrast

On white

7.33
#8A1BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A1BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1BB0
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1BB0#FFFFFF#000000##FFFFFF
##8A1BB01.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0C59AD
Tritanopia (blue-blind)
#874269
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a1bb0;
/* rgb */ color: rgb(138, 27, 176);
/* oklch */ color: oklch(48.3% 0.219 315.0);
Tailwind
colors: {
  custom: {
    50: '#b168c8',
    500: '#8a1bb0',
    950: '#000000',
  },
}
SCSS
$custom: #8a1bb0;
$custom-light: #b168c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1bb0",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 176
  },
  "hsl": {
    "h": 284.698,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48257,
    "c": 0.21881,
    "h": 315
  },
  "luminance": 0.09322
}

Semantic roles & 50–950 ramp

primary
#8A1BB0
secondary
#78CB5C
accent
#F03867
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8A1BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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