#8946D9#8946D9

#8946D9 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.214 H 300.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8946D9
RGBrgb(137, 70, 217)
HSLhsl(267, 66%, 56%)
HSVhsv(267, 68%, 85%)
CMYKcmyk(36.9%, 67.7%, 0%, 14.9%)
CIE-LABlab(45.23, 56.55, -64.67)
CIE-LCHlch(45.23, 85.91, 311.17°)
OKLaboklab(55.28% 0.108 -0.1842)
OKLCHoklch(55.28% 0.214 300.4)
XYZxyz(25.0280, 14.7082, 67.1526)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946D9 #96D946
analogous
#464DD9 #8946D9 #D346D9
triadic
#8946D9 #D98946 #46D989
tetradic
#8946D9 #D9464D #96D946 #46D9D3
square
#8946D9 #D9464D #96D946 #46D9D3
split-complementary
#8946D9 #D9D346 #4DD946
monochromatic
#4E1C89 #6A26BB #8946D9 #A979E3 #CAACEE

Accessibility & contrast

On white

5.33
#8946D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8946D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946D9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946D9#FFFFFF#000000##FFFFFF
##8946D91.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#77688A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8946d9;
/* rgb */ color: rgb(137, 70, 217);
/* oklch */ color: oklch(55.3% 0.214 300.4);
Tailwind
colors: {
  custom: {
    50: '#b17ee6',
    500: '#8946d9',
    950: '#000000',
  },
}
SCSS
$custom: #8946d9;
$custom-light: #b17ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#8946d9",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 267.347,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55275,
    "c": 0.21354,
    "h": 300.4
  },
  "luminance": 0.14708
}

Semantic roles & 50–950 ramp

primary
#8946D9
secondary
#C0DC9F
accent
#E93F9B
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8946D9

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

Preview Lab → · Contrast checker → · Palette generator →

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