#8946DB#8946DB

#8946DB is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.216 H 299.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8946DB
RGBrgb(137, 70, 219)
HSLhsl(267, 67%, 57%)
HSVhsv(267, 68%, 86%)
CMYKcmyk(37.4%, 68%, 0%, 14.1%)
CIE-LABlab(45.38, 57.04, -65.58)
CIE-LCHlch(45.38, 86.91, 311.02°)
OKLaboklab(55.42% 0.1077 -0.1869)
OKLCHoklch(55.42% 0.216 299.9)
XYZxyz(25.2897, 14.8129, 68.5309)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946DB #98DB46
analogous
#464EDB #8946DB #D446DB
triadic
#8946DB #DB8946 #46DB89
tetradic
#8946DB #DB464E #98DB46 #46DBD4
square
#8946DB #DB464E #98DB46 #46DBD4
split-complementary
#8946DB #DBD446 #4EDB46
monochromatic
#4E1B8B #6A25BF #8946DB #AA79E5 #CAACEF

Accessibility & contrast

On white

5.30
#8946DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8946DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946DB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946DB#FFFFFF#000000##FFFFFF
##8946DB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#76698B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8946db;
/* rgb */ color: rgb(137, 70, 219);
/* oklch */ color: oklch(55.4% 0.216 299.9);
Tailwind
colors: {
  custom: {
    50: '#b17ee7',
    500: '#8946db',
    950: '#000000',
  },
}
SCSS
$custom: #8946db;
$custom-light: #b17ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8946db",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 266.98,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55424,
    "c": 0.21571,
    "h": 299.9
  },
  "luminance": 0.14813
}

Semantic roles & 50–950 ramp

primary
#8946DB
secondary
#C1DDA0
accent
#EA3D9D
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8946DB

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

Preview Lab → · Contrast checker → · Palette generator →

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