#8946CB#8946CB

#8946CB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.3% C 0.198 H 303.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8946CB
RGBrgb(137, 70, 203)
HSLhsl(270, 56%, 54%)
HSVhsv(270, 66%, 80%)
CMYKcmyk(32.5%, 65.5%, 0%, 20.4%)
CIE-LABlab(44.25, 53.16, -58.22)
CIE-LCHlch(44.25, 78.84, 312.40°)
OKLaboklab(54.26% 0.1096 -0.1653)
OKLCHoklch(54.26% 0.198 303.5)
XYZxyz(23.2837, 14.0105, 57.9660)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946CB #88CB46
analogous
#4646CB #8946CB #CB46CA
triadic
#8946CB #CB8946 #46CB89
tetradic
#8946CB #CB4646 #88CB46 #46CACB
square
#8946CB #CB4646 #88CB46 #46CACB
split-complementary
#8946CB #CACB46 #46CB46
monochromatic
#4C2176 #6A2EA5 #8946CB #A776D8 #C6A6E6

Accessibility & contrast

On white

5.52
#8946CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8946CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946CB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946CB#FFFFFF#000000##FFFFFF
##8946CB1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#1768C8
Tritanopia (blue-blind)
#7C6382
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8946cb;
/* rgb */ color: rgb(137, 70, 203);
/* oklch */ color: oklch(54.3% 0.198 303.5);
Tailwind
colors: {
  custom: {
    50: '#b07edc',
    500: '#8946cb',
    950: '#000000',
  },
}
SCSS
$custom: #8946cb;
$custom-light: #b07edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8946cb",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 270.226,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.19833,
    "h": 303.5
  },
  "luminance": 0.1401
}

Semantic roles & 50–950 ramp

primary
#8946CB
secondary
#B6D39A
accent
#DF4893
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8946CB

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

Preview Lab → · Contrast checker → · Palette generator →

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