#8A43B9#8A43B9

#8A43B9 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.7% C 0.183 H 309.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A43B9
RGBrgb(138, 67, 185)
HSLhsl(276, 47%, 49%)
HSVhsv(276, 64%, 73%)
CMYKcmyk(25.4%, 63.8%, 0%, 27.5%)
CIE-LABlab(42.64, 50.66, -50.32)
CIE-LCHlch(42.64, 71.41, 315.19°)
OKLaboklab(52.75% 0.1157 -0.1421)
OKLCHoklch(52.75% 0.183 309.2)
XYZxyz(21.2436, 12.9207, 47.2644)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43B9 #72B943
analogous
#4F43B9 #8A43B9 #B943AD
triadic
#8A43B9 #B98A43 #43B98A
tetradic
#8A43B9 #B94F43 #72B943 #43ADB9
square
#8A43B9 #B94F43 #72B943 #43ADB9
split-complementary
#8A43B9 #ADB943 #43B94F
monochromatic
#47225F #68338C #8A43B9 #A66FCB #C29BDB

Accessibility & contrast

On white

5.86
#8A43B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8A43B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43B9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43B9#FFFFFF#000000##FFFFFF
##8A43B91.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#3166B6
Tritanopia (blue-blind)
#835B78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a43b9;
/* rgb */ color: rgb(138, 67, 185);
/* oklch */ color: oklch(52.7% 0.183 309.2);
Tailwind
colors: {
  custom: {
    50: '#b07bcf',
    500: '#8a43b9',
    950: '#000000',
  },
}
SCSS
$custom: #8a43b9;
$custom-light: #b07bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43b9",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 185
  },
  "hsl": {
    "h": 276.102,
    "s": 46.825,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.18321,
    "h": 309.2
  },
  "luminance": 0.1292
}

Semantic roles & 50–950 ramp

primary
#8A43B9
secondary
#A6C791
accent
#D65186
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A43B9

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

Preview Lab → · Contrast checker → · Palette generator →

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