#8946E3#8946E3

#8946E3 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.0% C 0.224 H 298.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8946E3
RGBrgb(137, 70, 227)
HSLhsl(266, 74%, 58%)
HSVhsv(266, 69%, 89%)
CMYKcmyk(39.6%, 69.2%, 0%, 11%)
CIE-LABlab(45.97, 59.00, -69.17)
CIE-LCHlch(45.97, 90.91, 310.46°)
OKLaboklab(56.03% 0.1064 -0.1975)
OKLCHoklch(56.03% 0.224 298.3)
XYZxyz(26.3683, 15.2443, 74.2114)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946E3 #A0E346
analogous
#4651E3 #8946E3 #D746E3
triadic
#8946E3 #E38946 #46E389
tetradic
#8946E3 #E34651 #A0E346 #46E3D7
square
#8946E3 #E34651 #A0E346 #46E3D7
split-complementary
#8946E3 #E3D746 #51E346
monochromatic
#4E1798 #691FCD #8946E3 #AB7BEB #CDB0F3

Accessibility & contrast

On white

5.19
#8946E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8946E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946E3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946E3#FFFFFF#000000##FFFFFF
##8946E31.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#736C90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8946e3;
/* rgb */ color: rgb(137, 70, 227);
/* oklch */ color: oklch(56.0% 0.224 298.3);
Tailwind
colors: {
  custom: {
    50: '#b27eed',
    500: '#8946e3',
    950: '#000000',
  },
}
SCSS
$custom: #8946e3;
$custom-light: #b27eed;
$custom-dark: #000000;
JSON
{
  "hex": "#8946e3",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 227
  },
  "hsl": {
    "h": 265.605,
    "s": 73.709,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5603,
    "c": 0.22433,
    "h": 298.3
  },
  "luminance": 0.15245
}

Semantic roles & 50–950 ramp

primary
#8946E3
secondary
#C7E2A3
accent
#F037A1
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8946E3

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

Preview Lab → · Contrast checker → · Palette generator →

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