#8A43B7#8A43B7

#8A43B7 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.6% C 0.181 H 309.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8A43B7
RGBrgb(138, 67, 183)
HSLhsl(277, 46%, 49%)
HSVhsv(277, 63%, 72%)
CMYKcmyk(24.6%, 63.4%, 0%, 28.2%)
CIE-LABlab(42.52, 50.21, -49.35)
CIE-LCHlch(42.52, 70.40, 315.49°)
OKLaboklab(52.62% 0.1158 -0.1392)
OKLCHoklch(52.62% 0.181 309.8)
XYZxyz(21.0340, 12.8369, 46.1603)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43B7 #70B743
analogous
#5043B7 #8A43B7 #B743AA
triadic
#8A43B7 #B78A43 #43B78A
tetradic
#8A43B7 #B75043 #70B743 #43AAB7
square
#8A43B7 #B75043 #70B743 #43AAB7
split-complementary
#8A43B7 #AAB743 #43B750
monochromatic
#46225D #68338A #8A43B7 #A66DCA #C19ADA

Accessibility & contrast

On white

5.89
#8A43B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8A43B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43B7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43B7#FFFFFF#000000##FFFFFF
##8A43B71.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0361BB
Deuteranopia (green-blind)
#3365B4
Tritanopia (blue-blind)
#845A77
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a43b7;
/* rgb */ color: rgb(138, 67, 183);
/* oklch */ color: oklch(52.6% 0.181 309.8);
Tailwind
colors: {
  custom: {
    50: '#b07bcd',
    500: '#8a43b7',
    950: '#000000',
  },
}
SCSS
$custom: #8a43b7;
$custom-light: #b07bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43b7",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 183
  },
  "hsl": {
    "h": 276.724,
    "s": 46.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52617,
    "c": 0.18107,
    "h": 309.8
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#8A43B7
secondary
#A5C690
accent
#D65285
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A43B7

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

Preview Lab → · Contrast checker → · Palette generator →

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