#8943B2#8943B2

#8943B2 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.175 H 310.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8943B2
RGBrgb(137, 67, 178)
HSLhsl(278, 45%, 48%)
HSVhsv(278, 62%, 70%)
CMYKcmyk(23%, 62.4%, 0%, 30.2%)
CIE-LABlab(42.07, 48.84, -47.13)
CIE-LCHlch(42.07, 67.87, 316.02°)
OKLaboklab(52.17% 0.1146 -0.1327)
OKLCHoklch(52.17% 0.175 310.8)
XYZxyz(20.3581, 12.5475, 43.4603)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8943B2 #6CB243
analogous
#5243B2 #8943B2 #B243A3
triadic
#8943B2 #B28943 #43B289
tetradic
#8943B2 #B25243 #6CB243 #43A3B2
square
#8943B2 #B25243 #6CB243 #43A3B2
split-complementary
#8943B2 #A3B243 #43B252
monochromatic
#452259 #673286 #8943B2 #A56BC7 #C097D8

Accessibility & contrast

On white

5.98
#8943B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8943B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8943B2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8943B2#FFFFFF#000000##FFFFFF
##8943B21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1260B5
Deuteranopia (green-blind)
#3765AF
Tritanopia (blue-blind)
#845874
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8943b2;
/* rgb */ color: rgb(137, 67, 178);
/* oklch */ color: oklch(52.2% 0.175 310.8);
Tailwind
colors: {
  custom: {
    50: '#af7bca',
    500: '#8943b2',
    950: '#000000',
  },
}
SCSS
$custom: #8943b2;
$custom-light: #af7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#8943b2",
  "rgb": {
    "r": 137,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 277.838,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52167,
    "c": 0.17538,
    "h": 310.8
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#8943B2
secondary
#A1C48D
accent
#D55383
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8943B2

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

Preview Lab → · Contrast checker → · Palette generator →

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