#8946CC#8946CC

#8946CC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.199 H 303.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8946CC
RGBrgb(137, 70, 204)
HSLhsl(270, 57%, 54%)
HSVhsv(270, 66%, 80%)
CMYKcmyk(32.8%, 65.7%, 0%, 20%)
CIE-LABlab(44.32, 53.40, -58.69)
CIE-LCHlch(44.32, 79.35, 312.30°)
OKLaboklab(54.33% 0.1095 -0.1667)
OKLCHoklch(54.33% 0.199 303.3)
XYZxyz(23.4033, 14.0583, 58.5956)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946CC #89CC46
analogous
#4646CC #8946CC #CC46CC
triadic
#8946CC #CC8946 #46CC89
tetradic
#8946CC #CC4646 #89CC46 #46CCCC
square
#8946CC #CC4646 #89CC46 #46CCCC
split-complementary
#8946CC #CCCC46 #46CC46
monochromatic
#4C2177 #6A2EA7 #8946CC #A876D9 #C6A6E6

Accessibility & contrast

On white

5.51
#8946CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8946CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946CC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946CC#FFFFFF#000000##FFFFFF
##8946CC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#1469C9
Tritanopia (blue-blind)
#7C6483
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8946cc;
/* rgb */ color: rgb(137, 70, 204);
/* oklch */ color: oklch(54.3% 0.199 303.3);
Tailwind
colors: {
  custom: {
    50: '#b07edc',
    500: '#8946cc',
    950: '#000000',
  },
}
SCSS
$custom: #8946cc;
$custom-light: #b07edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8946cc",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 270,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54329,
    "c": 0.19941,
    "h": 303.3
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

primary
#8946CC
secondary
#B7D49A
accent
#E04894
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8946CC

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

Preview Lab → · Contrast checker → · Palette generator →

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