#8A19B4#8A19B4

#8A19B4 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.4% C 0.224 H 313.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8A19B4
RGBrgb(138, 25, 180)
HSLhsl(284, 76%, 40%)
HSVhsv(284, 86%, 71%)
CMYKcmyk(23.3%, 86.1%, 0%, 29.4%)
CIE-LABlab(36.73, 65.39, -56.92)
CIE-LCHlch(36.73, 86.70, 318.96°)
OKLaboklab(48.45% 0.1548 -0.1612)
OKLCHoklch(48.45% 0.224 313.8)
XYZxyz(19.0656, 9.3945, 43.9802)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A19B4 #43B419
analogous
#3C19B4 #8A19B4 #B41990
triadic
#8A19B4 #B48A19 #19B48A
tetradic
#8A19B4 #B43C19 #43B419 #1990B4
square
#8A19B4 #B43C19 #43B419 #1990B4
split-complementary
#8A19B4 #90B419 #19B43C
monochromatic
#380A49 #61127E #8A19B4 #AF29E1 #C35FE9

Accessibility & contrast

On white

7.29
#8A19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8A19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A19B4
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A19B4#FFFFFF#000000##FFFFFF
##8A19B41.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#86436B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a19b4;
/* rgb */ color: rgb(138, 25, 180);
/* oklch */ color: oklch(48.4% 0.224 313.8);
Tailwind
colors: {
  custom: {
    50: '#b168cb',
    500: '#8a19b4',
    950: '#000000',
  },
}
SCSS
$custom: #8a19b4;
$custom-light: #b168cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a19b4",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 283.742,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48445,
    "c": 0.2235,
    "h": 313.8
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#8A19B4
secondary
#7BCD5C
accent
#F23669
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8A19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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