#8A43C4#8A43C4

#8A43C4 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.5% C 0.195 H 306.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A43C4
RGBrgb(138, 67, 196)
HSLhsl(273, 52%, 52%)
HSVhsv(273, 66%, 77%)
CMYKcmyk(29.6%, 65.8%, 0%, 23.1%)
CIE-LABlab(43.36, 53.19, -55.58)
CIE-LCHlch(43.36, 76.93, 313.74°)
OKLaboklab(53.5% 0.1149 -0.1575)
OKLCHoklch(53.5% 0.195 306.1)
XYZxyz(22.4500, 13.4033, 53.6183)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43C4 #7DC443
analogous
#4A43C4 #8A43C4 #C443BE
triadic
#8A43C4 #C48A43 #43C48A
tetradic
#8A43C4 #C44A43 #7DC443 #43BEC4
square
#8A43C4 #C44A43 #7DC443 #43BEC4
split-complementary
#8A43C4 #BEC443 #43C44A
monochromatic
#4A226B #6A309A #8A43C4 #A772D3 #C4A0E1

Accessibility & contrast

On white

5.71
#8A43C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8A43C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43C4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43C4#FFFFFF#000000##FFFFFF
##8A43C41.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#2267C1
Tritanopia (blue-blind)
#805F7E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a43c4;
/* rgb */ color: rgb(138, 67, 196);
/* oklch */ color: oklch(53.5% 0.195 306.1);
Tailwind
colors: {
  custom: {
    50: '#b07cd7',
    500: '#8a43c4',
    950: '#000000',
  },
}
SCSS
$custom: #8a43c4;
$custom-light: #b07cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43c4",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 273.023,
    "s": 52.227,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53499,
    "c": 0.19498,
    "h": 306.1
  },
  "luminance": 0.13403
}

Semantic roles & 50–950 ramp

primary
#8A43C4
secondary
#AFCE95
accent
#DC4C8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A43C4

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

Preview Lab → · Contrast checker → · Palette generator →

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