#8946E2#8946E2

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

Color values

HEX#8946E2
RGBrgb(137, 70, 226)
HSLhsl(266, 73%, 58%)
HSVhsv(266, 69%, 89%)
CMYKcmyk(39.4%, 69%, 0%, 11.4%)
CIE-LABlab(45.89, 58.75, -68.72)
CIE-LCHlch(45.89, 90.42, 310.53°)
OKLaboklab(55.95% 0.1066 -0.1962)
OKLCHoklch(55.95% 0.223 298.5)
XYZxyz(26.2307, 15.1893, 73.4866)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946E2 #9FE246
analogous
#4651E2 #8946E2 #D746E2
triadic
#8946E2 #E28946 #46E289
tetradic
#8946E2 #E24651 #9FE246 #46E2D7
square
#8946E2 #E24651 #9FE246 #46E2D7
split-complementary
#8946E2 #E2D746 #51E246
monochromatic
#4E1896 #6920CB #8946E2 #AB7BEA #CCB0F3

Accessibility & contrast

On white

5.20
#8946E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8946E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946E2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946E2#FFFFFF#000000##FFFFFF
##8946E21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#746C8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8946e2;
/* rgb */ color: rgb(137, 70, 226);
/* oklch */ color: oklch(56.0% 0.223 298.5);
Tailwind
colors: {
  custom: {
    50: '#b27eec',
    500: '#8946e2',
    950: '#000000',
  },
}
SCSS
$custom: #8946e2;
$custom-light: #b27eec;
$custom-dark: #000000;
JSON
{
  "hex": "#8946e2",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 265.769,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55953,
    "c": 0.22326,
    "h": 298.5
  },
  "luminance": 0.1519
}

Semantic roles & 50–950 ramp

primary
#8946E2
secondary
#C6E1A3
accent
#F038A1
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8946E2

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

Preview Lab → · Contrast checker → · Palette generator →

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