#8A43B5#8A43B5

#8A43B5 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.179 H 310.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A43B5
RGBrgb(138, 67, 181)
HSLhsl(277, 46%, 49%)
HSVhsv(277, 63%, 71%)
CMYKcmyk(23.8%, 63%, 0%, 29%)
CIE-LABlab(42.39, 49.76, -48.38)
CIE-LCHlch(42.39, 69.40, 315.80°)
OKLaboklab(52.49% 0.1159 -0.1364)
OKLCHoklch(52.49% 0.179 310.4)
XYZxyz(20.8273, 12.7542, 45.0717)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43B5 #6EB543
analogous
#5143B5 #8A43B5 #B543A7
triadic
#8A43B5 #B58A43 #43B58A
tetradic
#8A43B5 #B55143 #6EB543 #43A7B5
square
#8A43B5 #B55143 #6EB543 #43A7B5
split-complementary
#8A43B5 #A7B543 #43B551
monochromatic
#46225C #683288 #8A43B5 #A66CC9 #C199D9

Accessibility & contrast

On white

5.91
#8A43B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8A43B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43B5
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43B5#FFFFFF#000000##FFFFFF
##8A43B51.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A61B9
Deuteranopia (green-blind)
#3665B2
Tritanopia (blue-blind)
#845976
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a43b5;
/* rgb */ color: rgb(138, 67, 181);
/* oklch */ color: oklch(52.5% 0.179 310.4);
Tailwind
colors: {
  custom: {
    50: '#af7bcc',
    500: '#8a43b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a43b5;
$custom-light: #af7bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43b5",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 181
  },
  "hsl": {
    "h": 277.368,
    "s": 45.968,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52485,
    "c": 0.17893,
    "h": 310.4
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#8A43B5
secondary
#A3C58F
accent
#D65284
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A43B5

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

Preview Lab → · Contrast checker → · Palette generator →

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