#8A49B1#8A49B1

#8A49B1 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.166 H 310.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A49B1
RGBrgb(138, 73, 177)
HSLhsl(278, 42%, 49%)
HSVhsv(278, 59%, 69%)
CMYKcmyk(22%, 58.8%, 0%, 30.6%)
CIE-LABlab(43.28, 45.80, -44.61)
CIE-LCHlch(43.28, 63.94, 315.75°)
OKLaboklab(53.05% 0.1083 -0.1253)
OKLCHoklch(53.05% 0.166 310.8)
XYZxyz(20.7981, 13.3431, 43.0663)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49B1 #70B149
analogous
#5649B1 #8A49B1 #B149A4
triadic
#8A49B1 #B18A49 #49B18A
tetradic
#8A49B1 #B15649 #70B149 #49A4B1
square
#8A49B1 #B15649 #70B149 #49A4B1
split-complementary
#8A49B1 #A4B149 #49B156
monochromatic
#46255A #683786 #8A49B1 #A672C5 #C19ED7

Accessibility & contrast

On white

5.72
#8A49B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8A49B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49B1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49B1#FFFFFF#000000##FFFFFF
##8A49B11.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2563B4
Deuteranopia (green-blind)
#3F67AE
Tritanopia (blue-blind)
#855C76
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a49b1;
/* rgb */ color: rgb(138, 73, 177);
/* oklch */ color: oklch(53.1% 0.166 310.8);
Tailwind
colors: {
  custom: {
    50: '#af7fc9',
    500: '#8a49b1',
    950: '#000000',
  },
}
SCSS
$custom: #8a49b1;
$custom-light: #af7fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49b1",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 177
  },
  "hsl": {
    "h": 277.5,
    "s": 41.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53051,
    "c": 0.16567,
    "h": 310.8
  },
  "luminance": 0.13343
}

Semantic roles & 50–950 ramp

primary
#8A49B1
secondary
#A5C392
accent
#D15685
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A49B1

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

Preview Lab → · Contrast checker → · Palette generator →

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