#8946D7#8946D7

#8946D7 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.211 H 300.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8946D7
RGBrgb(137, 70, 215)
HSLhsl(268, 64%, 56%)
HSVhsv(268, 67%, 84%)
CMYKcmyk(36.3%, 67.4%, 0%, 15.7%)
CIE-LABlab(45.09, 56.06, -63.76)
CIE-LCHlch(45.09, 84.90, 311.32°)
OKLaboklab(55.13% 0.1082 -0.1816)
OKLCHoklch(55.13% 0.211 300.8)
XYZxyz(24.7694, 14.6048, 65.7909)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946D7 #94D746
analogous
#464BD7 #8946D7 #D146D7
triadic
#8946D7 #D78946 #46D789
tetradic
#8946D7 #D7464B #94D746 #46D7D1
square
#8946D7 #D7464B #94D746 #46D7D1
split-complementary
#8946D7 #D7D146 #4BD746
monochromatic
#4D1D86 #6A28B8 #8946D7 #A978E2 #C9ABED

Accessibility & contrast

On white

5.36
#8946D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8946D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946D7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946D7#FFFFFF#000000##FFFFFF
##8946D71.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#006AD4
Tritanopia (blue-blind)
#786889
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8946d7;
/* rgb */ color: rgb(137, 70, 215);
/* oklch */ color: oklch(55.1% 0.211 300.8);
Tailwind
colors: {
  custom: {
    50: '#b17ee4',
    500: '#8946d7',
    950: '#000000',
  },
}
SCSS
$custom: #8946d7;
$custom-light: #b17ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#8946d7",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 267.724,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55126,
    "c": 0.21138,
    "h": 300.8
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#8946D7
secondary
#BFDA9E
accent
#E7409A
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8946D7

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

Preview Lab → · Contrast checker → · Palette generator →

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