#8949CC#8949CC

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

Color values

HEX#8949CC
RGBrgb(137, 73, 204)
HSLhsl(269, 56%, 54%)
HSVhsv(269, 64%, 80%)
CMYKcmyk(32.8%, 64.2%, 0%, 20%)
CIE-LABlab(44.86, 51.91, -57.80)
CIE-LCHlch(44.86, 77.69, 311.92°)
OKLaboklab(54.72% 0.1062 -0.1641)
OKLCHoklch(54.72% 0.195 302.9)
XYZxyz(23.5956, 14.4431, 58.6597)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8949CC #8CCC49
analogous
#494BCC #8949CC #CB49CC
triadic
#8949CC #CC8949 #49CC89
tetradic
#8949CC #CC494B #8CCC49 #49CCCB
square
#8949CC #CC494B #8CCC49 #49CCCB
split-complementary
#8949CC #CCCB49 #4BCC49
monochromatic
#4C2279 #6B2FA9 #8949CC #A879D9 #C7A9E7

Accessibility & contrast

On white

5.40
#8949CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8949CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8949CC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8949CC#FFFFFF#000000##FFFFFF
##8949CC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#1C6AC9
Tritanopia (blue-blind)
#7C6684
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8949cc;
/* rgb */ color: rgb(137, 73, 204);
/* oklch */ color: oklch(54.7% 0.195 302.9);
Tailwind
colors: {
  custom: {
    50: '#b07fdc',
    500: '#8949cc',
    950: '#000000',
  },
}
SCSS
$custom: #8949cc;
$custom-light: #b07fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8949cc",
  "rgb": {
    "r": 137,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 269.313,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.19543,
    "h": 302.9
  },
  "luminance": 0.14443
}

Semantic roles & 50–950 ramp

primary
#8949CC
secondary
#B9D49D
accent
#E04896
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8949CC

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

Preview Lab → · Contrast checker → · Palette generator →

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