#8A43B1#8A43B1

#8A43B1 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.175 H 311.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8A43B1
RGBrgb(138, 67, 177)
HSLhsl(279, 45%, 48%)
HSVhsv(279, 62%, 69%)
CMYKcmyk(22%, 62.1%, 0%, 30.6%)
CIE-LABlab(42.14, 48.86, -46.42)
CIE-LCHlch(42.14, 67.40, 316.47°)
OKLaboklab(52.23% 0.116 -0.1306)
OKLCHoklch(52.23% 0.175 311.6)
XYZxyz(20.4228, 12.5924, 42.9412)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43B1 #6AB143
analogous
#5343B1 #8A43B1 #B143A1
triadic
#8A43B1 #B18A43 #43B18A
tetradic
#8A43B1 #B15343 #6AB143 #43A1B1
square
#8A43B1 #B15343 #6AB143 #43A1B1
split-complementary
#8A43B1 #A1B143 #43B153
monochromatic
#452158 #673285 #8A43B1 #A66AC7 #C197D8

Accessibility & contrast

On white

5.97
#8A43B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8A43B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43B1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43B1#FFFFFF#000000##FFFFFF
##8A43B11.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B4
Deuteranopia (green-blind)
#3965AE
Tritanopia (blue-blind)
#855874
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a43b1;
/* rgb */ color: rgb(138, 67, 177);
/* oklch */ color: oklch(52.2% 0.175 311.6);
Tailwind
colors: {
  custom: {
    50: '#af7bc9',
    500: '#8a43b1',
    950: '#000000',
  },
}
SCSS
$custom: #8a43b1;
$custom-light: #af7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43b1",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 177
  },
  "hsl": {
    "h": 278.727,
    "s": 45.082,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.17467,
    "h": 311.6
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#8A43B1
secondary
#A0C38C
accent
#D55381
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A43B1

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

Preview Lab → · Contrast checker → · Palette generator →

#8A43B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva