#8949CB#8949CB

#8949CB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.7% C 0.194 H 303.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8949CB
RGBrgb(137, 73, 203)
HSLhsl(270, 56%, 54%)
HSVhsv(270, 64%, 80%)
CMYKcmyk(32.5%, 64%, 0%, 20.4%)
CIE-LABlab(44.79, 51.67, -57.34)
CIE-LCHlch(44.79, 77.18, 312.02°)
OKLaboklab(54.65% 0.1062 -0.1627)
OKLCHoklch(54.65% 0.194 303.1)
XYZxyz(23.4761, 14.3953, 58.0301)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8949CB #8BCB49
analogous
#494ACB #8949CB #CA49CB
triadic
#8949CB #CB8949 #49CB89
tetradic
#8949CB #CB494A #8BCB49 #49CBCA
square
#8949CB #CB494A #8BCB49 #49CBCA
split-complementary
#8949CB #CBCA49 #4ACB49
monochromatic
#4C2277 #6A30A7 #8949CB #A879D9 #C7A8E6

Accessibility & contrast

On white

5.41
#8949CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8949CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8949CB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8949CB#FFFFFF#000000##FFFFFF
##8949CB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#1E6AC8
Tritanopia (blue-blind)
#7C6583
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8949cb;
/* rgb */ color: rgb(137, 73, 203);
/* oklch */ color: oklch(54.7% 0.194 303.1);
Tailwind
colors: {
  custom: {
    50: '#b07fdc',
    500: '#8949cb',
    950: '#000000',
  },
}
SCSS
$custom: #8949cb;
$custom-light: #b07fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8949cb",
  "rgb": {
    "r": 137,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 269.538,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54652,
    "c": 0.19431,
    "h": 303.1
  },
  "luminance": 0.14395
}

Semantic roles & 50–950 ramp

primary
#8949CB
secondary
#B8D49C
accent
#DF4995
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8949CB

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

Preview Lab → · Contrast checker → · Palette generator →

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