#8946D2#8946D2

#8946D2 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.206 H 301.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8946D2
RGBrgb(137, 70, 210)
HSLhsl(269, 61%, 55%)
HSVhsv(269, 67%, 82%)
CMYKcmyk(34.8%, 66.7%, 0%, 17.6%)
CIE-LABlab(44.73, 54.85, -61.47)
CIE-LCHlch(44.73, 82.38, 311.74°)
OKLaboklab(54.76% 0.1089 -0.1748)
OKLCHoklch(54.76% 0.206 301.9)
XYZxyz(24.1368, 14.3517, 62.4588)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946D2 #8FD246
analogous
#4649D2 #8946D2 #CF46D2
triadic
#8946D2 #D28946 #46D289
tetradic
#8946D2 #D24649 #8FD246 #46D2CF
square
#8946D2 #D24649 #8FD246 #46D2CF
split-complementary
#8946D2 #D2CF46 #49D246
monochromatic
#4D1F7F #6B2BB0 #8946D2 #A877DE #C8A8EA

Accessibility & contrast

On white

5.43
#8946D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8946D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946D2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946D2#FFFFFF#000000##FFFFFF
##8946D21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#7A6686
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8946d2;
/* rgb */ color: rgb(137, 70, 210);
/* oklch */ color: oklch(54.8% 0.206 301.9);
Tailwind
colors: {
  custom: {
    50: '#b17ee1',
    500: '#8946d2',
    950: '#000000',
  },
}
SCSS
$custom: #8946d2;
$custom-light: #b17ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8946d2",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 268.714,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5476,
    "c": 0.20595,
    "h": 301.9
  },
  "luminance": 0.14352
}

Semantic roles & 50–950 ramp

primary
#8946D2
secondary
#BBD79C
accent
#E44497
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8946D2

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

Preview Lab → · Contrast checker → · Palette generator →

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