#8A49BC#8A49BC

#8A49BC is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.178 H 307.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A49BC
RGBrgb(138, 73, 188)
HSLhsl(274, 46%, 51%)
HSVhsv(274, 61%, 74%)
CMYKcmyk(26.6%, 61.2%, 0%, 26.3%)
CIE-LABlab(43.94, 48.33, -49.99)
CIE-LCHlch(43.94, 69.53, 314.03°)
OKLaboklab(53.75% 0.1083 -0.1411)
OKLCHoklch(53.75% 0.178 307.5)
XYZxyz(21.9390, 13.7995, 49.0750)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49BC #7BBC49
analogous
#5049BC #8A49BC #BC49B4
triadic
#8A49BC #BC8A49 #49BC8A
tetradic
#8A49BC #BC5049 #7BBC49 #49B4BC
square
#8A49BC #BC5049 #7BBC49 #49B4BC
split-complementary
#8A49BC #B4BC49 #49BC50
monochromatic
#492565 #6A3692 #8A49BC #A776CC #C4A2DD

Accessibility & contrast

On white

5.59
#8A49BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8A49BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49BC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49BC#FFFFFF#000000##FFFFFF
##8A49BC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1165C0
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#82607C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a49bc;
/* rgb */ color: rgb(138, 73, 188);
/* oklch */ color: oklch(53.8% 0.178 307.5);
Tailwind
colors: {
  custom: {
    50: '#b07fd1',
    500: '#8a49bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a49bc;
$custom-light: #b07fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49bc",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 188
  },
  "hsl": {
    "h": 273.913,
    "s": 46.185,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53752,
    "c": 0.17789,
    "h": 307.5
  },
  "luminance": 0.13799
}

Semantic roles & 50–950 ramp

primary
#8A49BC
secondary
#ADCA97
accent
#D6528B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A49BC

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

Preview Lab → · Contrast checker → · Palette generator →

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