#8946C4#8946C4

#8946C4 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.8% C 0.191 H 305.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8946C4
RGBrgb(137, 70, 196)
HSLhsl(272, 52%, 52%)
HSVhsv(272, 64%, 77%)
CMYKcmyk(30.1%, 64.3%, 0%, 23.1%)
CIE-LABlab(43.78, 51.50, -54.92)
CIE-LCHlch(43.78, 75.29, 313.16°)
OKLaboklab(53.77% 0.1102 -0.1556)
OKLCHoklch(53.77% 0.191 305.3)
XYZxyz(22.4683, 13.6844, 53.6715)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946C4 #81C446
analogous
#4A46C4 #8946C4 #C446C0
triadic
#8946C4 #C48946 #46C489
tetradic
#8946C4 #C44A46 #81C446 #46C0C4
square
#8946C4 #C44A46 #81C446 #46C0C4
split-complementary
#8946C4 #C0C446 #46C44A
monochromatic
#4A236D #6A329B #8946C4 #A774D3 #C4A3E2

Accessibility & contrast

On white

5.62
#8946C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8946C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946C4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946C4#FFFFFF#000000##FFFFFF
##8946C41.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#2568C1
Tritanopia (blue-blind)
#7F617F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8946c4;
/* rgb */ color: rgb(137, 70, 196);
/* oklch */ color: oklch(53.8% 0.191 305.3);
Tailwind
colors: {
  custom: {
    50: '#b07dd7',
    500: '#8946c4',
    950: '#000000',
  },
}
SCSS
$custom: #8946c4;
$custom-light: #b07dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8946c4",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 271.905,
    "s": 51.639,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53769,
    "c": 0.19067,
    "h": 305.3
  },
  "luminance": 0.13684
}

Semantic roles & 50–950 ramp

primary
#8946C4
secondary
#B1CE97
accent
#DB4D8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8946C4

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

Preview Lab → · Contrast checker → · Palette generator →

#8946C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva