#8943BA#8943BA

#8943BA is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.7% C 0.184 H 308.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8943BA
RGBrgb(137, 67, 186)
HSLhsl(275, 47%, 50%)
HSVhsv(275, 64%, 73%)
CMYKcmyk(26.3%, 64%, 0%, 27.1%)
CIE-LABlab(42.58, 50.66, -51.02)
CIE-LCHlch(42.58, 71.90, 314.80°)
OKLaboklab(52.7% 0.1143 -0.1441)
OKLCHoklch(52.7% 0.184 308.4)
XYZxyz(21.1848, 12.8782, 47.8146)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8943BA #74BA43
analogous
#4D43BA #8943BA #BA43B0
triadic
#8943BA #BA8943 #43BA89
tetradic
#8943BA #BA4D43 #74BA43 #43B0BA
square
#8943BA #BA4D43 #74BA43 #43B0BA
split-complementary
#8943BA #B0BA43 #43BA4D
monochromatic
#472360 #68338D #8943BA #A56FCB #C19CDB

Accessibility & contrast

On white

5.87
#8943BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8943BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8943BA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8943BA#FFFFFF#000000##FFFFFF
##8943BA1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#2F65B7
Tritanopia (blue-blind)
#825B78
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8943ba;
/* rgb */ color: rgb(137, 67, 186);
/* oklch */ color: oklch(52.7% 0.184 308.4);
Tailwind
colors: {
  custom: {
    50: '#af7bcf',
    500: '#8943ba',
    950: '#000000',
  },
}
SCSS
$custom: #8943ba;
$custom-light: #af7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8943ba",
  "rgb": {
    "r": 137,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 275.294,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52695,
    "c": 0.18398,
    "h": 308.4
  },
  "luminance": 0.12878
}

Semantic roles & 50–950 ramp

primary
#8943BA
secondary
#A8C891
accent
#D75188
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8943BA

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

Preview Lab → · Contrast checker → · Palette generator →

#8943BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva