#8A49B0#8A49B0

#8A49B0 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.165 H 311.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8A49B0
RGBrgb(138, 73, 176)
HSLhsl(278, 41%, 49%)
HSVhsv(278, 59%, 69%)
CMYKcmyk(21.6%, 58.5%, 0%, 31%)
CIE-LABlab(43.22, 45.57, -44.12)
CIE-LCHlch(43.22, 63.43, 315.93°)
OKLaboklab(52.99% 0.1083 -0.1239)
OKLCHoklch(52.99% 0.165 311.2)
XYZxyz(20.6988, 13.3034, 42.5433)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49B0 #6FB049
analogous
#5749B0 #8A49B0 #B049A3
triadic
#8A49B0 #B08A49 #49B08A
tetradic
#8A49B0 #B05749 #6FB049 #49A3B0
square
#8A49B0 #B05749 #6FB049 #49A3B0
split-complementary
#8A49B0 #A3B049 #49B057
monochromatic
#462559 #683785 #8A49B0 #A672C4 #C19DD6

Accessibility & contrast

On white

5.74
#8A49B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8A49B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49B0
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49B0#FFFFFF#000000##FFFFFF
##8A49B01.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2763B3
Deuteranopia (green-blind)
#4067AD
Tritanopia (blue-blind)
#855C75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a49b0;
/* rgb */ color: rgb(138, 73, 176);
/* oklch */ color: oklch(53.0% 0.165 311.2);
Tailwind
colors: {
  custom: {
    50: '#af7fc8',
    500: '#8a49b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a49b0;
$custom-light: #af7fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49b0",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 176
  },
  "hsl": {
    "h": 277.864,
    "s": 41.365,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52989,
    "c": 0.16456,
    "h": 311.2
  },
  "luminance": 0.13303
}

Semantic roles & 50–950 ramp

primary
#8A49B0
secondary
#A4C392
accent
#D15784
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A49B0

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

Preview Lab → · Contrast checker → · Palette generator →

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