#8946CA#8946CA

#8946CA is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.2% C 0.197 H 303.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8946CA
RGBrgb(137, 70, 202)
HSLhsl(270, 55%, 53%)
HSVhsv(270, 65%, 79%)
CMYKcmyk(32.2%, 65.3%, 0%, 20.8%)
CIE-LABlab(44.18, 52.92, -57.75)
CIE-LCHlch(44.18, 78.33, 312.50°)
OKLaboklab(54.19% 0.1097 -0.1639)
OKLCHoklch(54.19% 0.197 303.8)
XYZxyz(23.1649, 13.9630, 57.3404)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946CA #87CA46
analogous
#4746CA #8946CA #CA46C9
triadic
#8946CA #CA8946 #46CA89
tetradic
#8946CA #CA4746 #87CA46 #46C9CA
square
#8946CA #CA4746 #87CA46 #46C9CA
split-complementary
#8946CA #C9CA46 #46CA47
monochromatic
#4B2174 #6A2FA4 #8946CA #A776D8 #C6A5E5

Accessibility & contrast

On white

5.54
#8946CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8946CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946CA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946CA#FFFFFF#000000##FFFFFF
##8946CA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#1968C7
Tritanopia (blue-blind)
#7D6382
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8946ca;
/* rgb */ color: rgb(137, 70, 202);
/* oklch */ color: oklch(54.2% 0.197 303.8);
Tailwind
colors: {
  custom: {
    50: '#b07edb',
    500: '#8946ca',
    950: '#000000',
  },
}
SCSS
$custom: #8946ca;
$custom-light: #b07edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8946ca",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 270.455,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54187,
    "c": 0.19724,
    "h": 303.8
  },
  "luminance": 0.13963
}

Semantic roles & 50–950 ramp

primary
#8946CA
secondary
#B5D29A
accent
#DF4993
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8946CA

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

Preview Lab → · Contrast checker → · Palette generator →

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