#8946DC#8946DC

#8946DC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.217 H 299.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8946DC
RGBrgb(137, 70, 220)
HSLhsl(267, 68%, 57%)
HSVhsv(267, 68%, 86%)
CMYKcmyk(37.7%, 68.2%, 0%, 13.7%)
CIE-LABlab(45.45, 57.28, -66.03)
CIE-LCHlch(45.45, 87.41, 310.94°)
OKLaboklab(55.5% 0.1075 -0.1882)
OKLCHoklch(55.5% 0.217 299.7)
XYZxyz(25.4217, 14.8657, 69.2263)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946DC #99DC46
analogous
#464EDC #8946DC #D446DC
triadic
#8946DC #DC8946 #46DC89
tetradic
#8946DC #DC464E #99DC46 #46DCD4
square
#8946DC #DC464E #99DC46 #46DCD4
split-complementary
#8946DC #DCD446 #4EDC46
monochromatic
#4E1B8D #6A24C0 #8946DC #AA79E6 #CBADEF

Accessibility & contrast

On white

5.29
#8946DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8946DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946DC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946DC#FFFFFF#000000##FFFFFF
##8946DC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#766A8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8946dc;
/* rgb */ color: rgb(137, 70, 220);
/* oklch */ color: oklch(55.5% 0.217 299.7);
Tailwind
colors: {
  custom: {
    50: '#b17ee8',
    500: '#8946dc',
    950: '#000000',
  },
}
SCSS
$custom: #8946dc;
$custom-light: #b17ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#8946dc",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 266.8,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55499,
    "c": 0.21679,
    "h": 299.7
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#8946DC
secondary
#C2DDA0
accent
#EB3D9D
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8946DC

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

Preview Lab → · Contrast checker → · Palette generator →

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