#8949B2#8949B2

#8949B2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.166 H 310.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8949B2
RGBrgb(137, 73, 178)
HSLhsl(277, 42%, 49%)
HSVhsv(277, 59%, 70%)
CMYKcmyk(23%, 59%, 0%, 30.2%)
CIE-LABlab(43.21, 45.77, -45.31)
CIE-LCHlch(43.21, 64.41, 315.29°)
OKLaboklab(52.99% 0.1071 -0.1274)
OKLCHoklch(52.99% 0.166 310)
XYZxyz(20.7334, 13.2982, 43.5854)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8949B2 #72B249
analogous
#5449B2 #8949B2 #B249A7
triadic
#8949B2 #B28949 #49B289
tetradic
#8949B2 #B25449 #72B249 #49A7B2
square
#8949B2 #B25449 #72B249 #49A7B2
split-complementary
#8949B2 #A7B249 #49B254
monochromatic
#46255B #683787 #8949B2 #A573C5 #C19ED7

Accessibility & contrast

On white

5.74
#8949B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8949B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8949B2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8949B2#FFFFFF#000000##FFFFFF
##8949B21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B5
Deuteranopia (green-blind)
#3E67AF
Tritanopia (blue-blind)
#845C76
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8949b2;
/* rgb */ color: rgb(137, 73, 178);
/* oklch */ color: oklch(53.0% 0.166 310.0);
Tailwind
colors: {
  custom: {
    50: '#ae7fc9',
    500: '#8949b2',
    950: '#000000',
  },
}
SCSS
$custom: #8949b2;
$custom-light: #ae7fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8949b2",
  "rgb": {
    "r": 137,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 276.571,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52994,
    "c": 0.16643,
    "h": 310
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#8949B2
secondary
#A6C493
accent
#D25686
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8949B2

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

Preview Lab → · Contrast checker → · Palette generator →

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