#8949C7#8949C7

#8949C7 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.190 H 304.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8949C7
RGBrgb(137, 73, 199)
HSLhsl(270, 53%, 53%)
HSVhsv(270, 63%, 78%)
CMYKcmyk(31.2%, 63.3%, 0%, 22%)
CIE-LABlab(44.53, 50.70, -55.45)
CIE-LCHlch(44.53, 75.14, 312.44°)
OKLaboklab(54.37% 0.1065 -0.1572)
OKLCHoklch(54.37% 0.19 304.1)
XYZxyz(23.0056, 14.2071, 55.5520)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8949C7 #87C749
analogous
#4A49C7 #8949C7 #C749C6
triadic
#8949C7 #C78949 #49C789
tetradic
#8949C7 #C74A49 #87C749 #49C6C7
square
#8949C7 #C74A49 #87C749 #49C6C7
split-complementary
#8949C7 #C6C749 #49C74A
monochromatic
#4B2372 #6A32A1 #8949C7 #A778D5 #C6A7E4

Accessibility & contrast

On white

5.47
#8949C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8949C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8949C7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8949C7#FFFFFF#000000##FFFFFF
##8949C71.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#2669C4
Tritanopia (blue-blind)
#7E6481
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8949c7;
/* rgb */ color: rgb(137, 73, 199);
/* oklch */ color: oklch(54.4% 0.190 304.1);
Tailwind
colors: {
  custom: {
    50: '#b07fd9',
    500: '#8949c7',
    950: '#000000',
  },
}
SCSS
$custom: #8949c7;
$custom-light: #b07fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8949c7",
  "rgb": {
    "r": 137,
    "g": 73,
    "b": 199
  },
  "hsl": {
    "h": 270.476,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54375,
    "c": 0.18987,
    "h": 304.1
  },
  "luminance": 0.14207
}

Semantic roles & 50–950 ramp

primary
#8949C7
secondary
#B5D19B
accent
#DC4B93
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8949C7

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

Preview Lab → · Contrast checker → · Palette generator →

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