#8A43AF#8A43AF

#8A43AF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.173 H 312.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A43AF
RGBrgb(138, 67, 175)
HSLhsl(279, 45%, 47%)
HSVhsv(279, 62%, 69%)
CMYKcmyk(21.1%, 61.7%, 0%, 31.4%)
CIE-LABlab(42.02, 48.42, -45.44)
CIE-LCHlch(42.02, 66.40, 316.82°)
OKLaboklab(52.1% 0.116 -0.1277)
OKLCHoklch(52.1% 0.173 312.2)
XYZxyz(20.2249, 12.5132, 41.8990)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43AF #68AF43
analogous
#5443AF #8A43AF #AF439E
triadic
#8A43AF #AF8A43 #43AF8A
tetradic
#8A43AF #AF5443 #68AF43 #439EAF
square
#8A43AF #AF5443 #68AF43 #439EAF
split-complementary
#8A43AF #9EAF43 #43AF54
monochromatic
#442156 #673283 #8A43AF #A669C6 #C096D7

Accessibility & contrast

On white

6.00
#8A43AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8A43AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43AF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43AF#FFFFFF#000000##FFFFFF
##8A43AF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1960B2
Deuteranopia (green-blind)
#3B65AC
Tritanopia (blue-blind)
#865773
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a43af;
/* rgb */ color: rgb(138, 67, 175);
/* oklch */ color: oklch(52.1% 0.173 312.2);
Tailwind
colors: {
  custom: {
    50: '#af7bc7',
    500: '#8a43af',
    950: '#000000',
  },
}
SCSS
$custom: #8a43af;
$custom-light: #af7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43af",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 279.444,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52098,
    "c": 0.17253,
    "h": 312.2
  },
  "luminance": 0.12513
}

Semantic roles & 50–950 ramp

primary
#8A43AF
secondary
#9EC28B
accent
#D45380
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A43AF

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

Preview Lab → · Contrast checker → · Palette generator →

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