#8949BA#8949BA

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

Color values

HEX#8949BA
RGBrgb(137, 73, 186)
HSLhsl(274, 45%, 51%)
HSVhsv(274, 61%, 73%)
CMYKcmyk(26.3%, 60.8%, 0%, 27.1%)
CIE-LABlab(43.70, 47.63, -49.23)
CIE-LCHlch(43.70, 68.49, 314.05°)
OKLaboklab(53.51% 0.107 -0.1389)
OKLCHoklch(53.51% 0.175 307.6)
XYZxyz(21.5602, 13.6289, 47.9397)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8949BA #7ABA49
analogous
#5049BA #8949BA #BA49B3
triadic
#8949BA #BA8949 #49BA89
tetradic
#8949BA #BA5049 #7ABA49 #49B3BA
square
#8949BA #BA5049 #7ABA49 #49B3BA
split-complementary
#8949BA #B3BA49 #49BA50
monochromatic
#482663 #69368F #8949BA #A675CB #C3A2DC

Accessibility & contrast

On white

5.64
#8949BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8949BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8949BA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8949BA#FFFFFF#000000##FFFFFF
##8949BA1.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)
#1565BE
Deuteranopia (green-blind)
#3668B7
Tritanopia (blue-blind)
#815F7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8949ba;
/* rgb */ color: rgb(137, 73, 186);
/* oklch */ color: oklch(53.5% 0.175 307.6);
Tailwind
colors: {
  custom: {
    50: '#af7fcf',
    500: '#8949ba',
    950: '#000000',
  },
}
SCSS
$custom: #8949ba;
$custom-light: #af7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8949ba",
  "rgb": {
    "r": 137,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 273.982,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53505,
    "c": 0.17536,
    "h": 307.6
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

primary
#8949BA
secondary
#ACC896
accent
#D5538B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8949BA

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

Preview Lab → · Contrast checker → · Palette generator →

#8949BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva