#8949BF#8949BF

#8949BF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.181 H 306.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8949BF
RGBrgb(137, 73, 191)
HSLhsl(273, 48%, 52%)
HSVhsv(273, 62%, 75%)
CMYKcmyk(28.3%, 61.8%, 0%, 25.1%)
CIE-LABlab(44.01, 48.80, -51.64)
CIE-LCHlch(44.01, 71.05, 313.38°)
OKLaboklab(53.83% 0.1069 -0.146)
OKLCHoklch(53.83% 0.181 306.2)
XYZxyz(22.1010, 13.8452, 50.7882)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8949BF #7FBF49
analogous
#4E49BF #8949BF #BF49BA
triadic
#8949BF #BF8949 #49BF89
tetradic
#8949BF #BF4E49 #7FBF49 #49BABF
square
#8949BF #BF4E49 #7FBF49 #49BABF
split-complementary
#8949BF #BABF49 #49BF4E
monochromatic
#4A2569 #6A3596 #8949BF #A676CF #C4A4DF

Accessibility & contrast

On white

5.57
#8949BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8949BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8949BF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8949BF#FFFFFF#000000##FFFFFF
##8949BF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0566C3
Deuteranopia (green-blind)
#3168BC
Tritanopia (blue-blind)
#80617D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8949bf;
/* rgb */ color: rgb(137, 73, 191);
/* oklch */ color: oklch(53.8% 0.181 306.2);
Tailwind
colors: {
  custom: {
    50: '#af7fd3',
    500: '#8949bf',
    950: '#000000',
  },
}
SCSS
$custom: #8949bf;
$custom-light: #af7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8949bf",
  "rgb": {
    "r": 137,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 272.542,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.18094,
    "h": 306.2
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

primary
#8949BF
secondary
#B0CC98
accent
#D8508E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8949BF

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

Preview Lab → · Contrast checker → · Palette generator →

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