#8A49B8#8A49B8

#8A49B8 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.173 H 308.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A49B8
RGBrgb(138, 73, 184)
HSLhsl(275, 44%, 50%)
HSVhsv(275, 60%, 72%)
CMYKcmyk(25%, 60.3%, 0%, 27.8%)
CIE-LABlab(43.70, 47.40, -48.05)
CIE-LCHlch(43.70, 67.50, 314.61°)
OKLaboklab(53.49% 0.1084 -0.1354)
OKLCHoklch(53.49% 0.173 308.7)
XYZxyz(21.5138, 13.6294, 46.8355)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49B8 #77B849
analogous
#5249B8 #8A49B8 #B849AF
triadic
#8A49B8 #B88A49 #49B88A
tetradic
#8A49B8 #B85249 #77B849 #49AFB8
square
#8A49B8 #B85249 #77B849 #49AFB8
split-complementary
#8A49B8 #AFB849 #49B852
monochromatic
#482661 #69378D #8A49B8 #A675C9 #C3A1DA

Accessibility & contrast

On white

5.64
#8A49B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8A49B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49B8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49B8#FFFFFF#000000##FFFFFF
##8A49B81.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A65BC
Deuteranopia (green-blind)
#3968B5
Tritanopia (blue-blind)
#835E7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a49b8;
/* rgb */ color: rgb(138, 73, 184);
/* oklch */ color: oklch(53.5% 0.173 308.7);
Tailwind
colors: {
  custom: {
    50: '#af7fce',
    500: '#8a49b8',
    950: '#000000',
  },
}
SCSS
$custom: #8a49b8;
$custom-light: #af7fce;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49b8",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 184
  },
  "hsl": {
    "h": 275.135,
    "s": 43.874,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53493,
    "c": 0.17344,
    "h": 308.7
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

primary
#8A49B8
secondary
#AAC796
accent
#D45489
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A49B8

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

Preview Lab → · Contrast checker → · Palette generator →

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