#8A49BB#8A49BB

#8A49BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.177 H 307.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A49BB
RGBrgb(138, 73, 187)
HSLhsl(274, 46%, 51%)
HSVhsv(274, 61%, 73%)
CMYKcmyk(26.2%, 61%, 0%, 26.7%)
CIE-LABlab(43.88, 48.10, -49.51)
CIE-LCHlch(43.88, 69.03, 314.17°)
OKLaboklab(53.69% 0.1083 -0.1397)
OKLCHoklch(53.69% 0.177 307.8)
XYZxyz(21.8316, 13.7565, 48.5092)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49BB #7ABB49
analogous
#5149BB #8A49BB #BB49B3
triadic
#8A49BB #BB8A49 #49BB8A
tetradic
#8A49BB #BB5149 #7ABB49 #49B3BB
square
#8A49BB #BB5149 #7ABB49 #49B3BB
split-complementary
#8A49BB #B3BB49 #49BB51
monochromatic
#492564 #6A3691 #8A49BB #A776CC #C3A2DC

Accessibility & contrast

On white

5.60
#8A49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8A49BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49BB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49BB#FFFFFF#000000##FFFFFF
##8A49BB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BF
Deuteranopia (green-blind)
#3668B8
Tritanopia (blue-blind)
#835F7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a49bb;
/* rgb */ color: rgb(138, 73, 187);
/* oklch */ color: oklch(53.7% 0.177 307.8);
Tailwind
colors: {
  custom: {
    50: '#b07fd0',
    500: '#8a49bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a49bb;
$custom-light: #b07fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49bb",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 274.211,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53687,
    "c": 0.17677,
    "h": 307.8
  },
  "luminance": 0.13756
}

Semantic roles & 50–950 ramp

primary
#8A49BB
secondary
#ACC997
accent
#D5538B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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