#8946C8#8946C8

#8946C8 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.195 H 304.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8946C8
RGBrgb(137, 70, 200)
HSLhsl(271, 54%, 53%)
HSVhsv(271, 65%, 78%)
CMYKcmyk(31.5%, 65%, 0%, 21.6%)
CIE-LABlab(44.04, 52.45, -56.81)
CIE-LCHlch(44.04, 77.32, 312.71°)
OKLaboklab(54.05% 0.1099 -0.1612)
OKLCHoklch(54.05% 0.195 304.3)
XYZxyz(22.9297, 13.8689, 56.1014)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946C8 #85C846
analogous
#4846C8 #8946C8 #C846C6
triadic
#8946C8 #C88946 #46C889
tetradic
#8946C8 #C84846 #85C846 #46C6C8
square
#8946C8 #C84846 #85C846 #46C6C8
split-complementary
#8946C8 #C6C846 #46C848
monochromatic
#4B2272 #6A30A1 #8946C8 #A775D6 #C5A4E4

Accessibility & contrast

On white

5.56
#8946C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8946C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946C8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946C8#FFFFFF#000000##FFFFFF
##8946C81.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#1E68C5
Tritanopia (blue-blind)
#7D6281
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8946c8;
/* rgb */ color: rgb(137, 70, 200);
/* oklch */ color: oklch(54.0% 0.195 304.3);
Tailwind
colors: {
  custom: {
    50: '#b07ed9',
    500: '#8946c8',
    950: '#000000',
  },
}
SCSS
$custom: #8946c8;
$custom-light: #b07ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8946c8",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 270.923,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54047,
    "c": 0.19505,
    "h": 304.3
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#8946C8
secondary
#B4D199
accent
#DE4A92
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8946C8

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

Preview Lab → · Contrast checker → · Palette generator →

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