#8A49AF#8A49AF

#8A49AF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.163 H 311.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A49AF
RGBrgb(138, 73, 175)
HSLhsl(278, 41%, 49%)
HSVhsv(278, 58%, 69%)
CMYKcmyk(21.1%, 58.3%, 0%, 31.4%)
CIE-LABlab(43.16, 45.35, -43.62)
CIE-LCHlch(43.16, 62.92, 316.11°)
OKLaboklab(52.93% 0.1083 -0.1224)
OKLCHoklch(52.93% 0.163 311.5)
XYZxyz(20.6002, 13.2640, 42.0241)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49AF #6EAF49
analogous
#5749AF #8A49AF #AF49A1
triadic
#8A49AF #AF8A49 #49AF8A
tetradic
#8A49AF #AF5749 #6EAF49 #49A1AF
square
#8A49AF #AF5749 #6EAF49 #49A1AF
split-complementary
#8A49AF #A1AF49 #49AF57
monochromatic
#462559 #683784 #8A49AF #A671C4 #C19CD6

Accessibility & contrast

On white

5.75
#8A49AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8A49AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49AF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49AF#FFFFFF#000000##FFFFFF
##8A49AF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2863B2
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#865B75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a49af;
/* rgb */ color: rgb(138, 73, 175);
/* oklch */ color: oklch(52.9% 0.163 311.5);
Tailwind
colors: {
  custom: {
    50: '#af7fc7',
    500: '#8a49af',
    950: '#000000',
  },
}
SCSS
$custom: #8a49af;
$custom-light: #af7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49af",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 278.235,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52927,
    "c": 0.16346,
    "h": 311.5
  },
  "luminance": 0.13264
}

Semantic roles & 50–950 ramp

primary
#8A49AF
secondary
#A3C291
accent
#D15783
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A49AF

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

Preview Lab → · Contrast checker → · Palette generator →

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