#8A43D1#8A43D1

#8A43D1 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.4% C 0.209 H 302.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A43D1
RGBrgb(138, 67, 209)
HSLhsl(270, 61%, 54%)
HSVhsv(270, 68%, 82%)
CMYKcmyk(34%, 67.9%, 0%, 18%)
CIE-LABlab(44.26, 56.25, -61.65)
CIE-LCHlch(44.26, 83.45, 312.38°)
OKLaboklab(54.43% 0.1135 -0.1753)
OKLCHoklch(54.43% 0.209 302.9)
XYZxyz(23.9943, 14.0210, 61.7515)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43D1 #8AD143
analogous
#4343D1 #8A43D1 #D143D1
triadic
#8A43D1 #D18A43 #43D18A
tetradic
#8A43D1 #D14343 #8AD143 #43D1D1
square
#8A43D1 #D14343 #8AD143 #43D1D1
split-complementary
#8A43D1 #D1D143 #43D143
monochromatic
#4D1E7B #6B2AAD #8A43D1 #A974DD #C7A5E9

Accessibility & contrast

On white

5.52
#8A43D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8A43D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43D1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43D1#FFFFFF#000000##FFFFFF
##8A43D11.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0068CE
Tritanopia (blue-blind)
#7C6485
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a43d1;
/* rgb */ color: rgb(138, 67, 209);
/* oklch */ color: oklch(54.4% 0.209 302.9);
Tailwind
colors: {
  custom: {
    50: '#b17ce0',
    500: '#8a43d1',
    950: '#000000',
  },
}
SCSS
$custom: #8a43d1;
$custom-light: #b17ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43d1",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 209
  },
  "hsl": {
    "h": 270,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54428,
    "c": 0.20885,
    "h": 302.9
  },
  "luminance": 0.14021
}

Semantic roles & 50–950 ramp

primary
#8A43D1
secondary
#B8D69A
accent
#E44494
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A43D1

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

Preview Lab → · Contrast checker → · Palette generator →

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