#8A43B4#8A43B4

#8A43B4 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.178 H 310.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8A43B4
RGBrgb(138, 67, 180)
HSLhsl(278, 46%, 48%)
HSVhsv(278, 63%, 71%)
CMYKcmyk(23.3%, 62.8%, 0%, 29.4%)
CIE-LABlab(42.33, 49.53, -47.89)
CIE-LCHlch(42.33, 68.90, 315.96°)
OKLaboklab(52.42% 0.1159 -0.1349)
OKLCHoklch(52.42% 0.178 310.7)
XYZxyz(20.7251, 12.7133, 44.5333)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43B4 #6DB443
analogous
#5143B4 #8A43B4 #B443A5
triadic
#8A43B4 #B48A43 #43B48A
tetradic
#8A43B4 #B45143 #6DB443 #43A5B4
square
#8A43B4 #B45143 #6DB443 #43A5B4
split-complementary
#8A43B4 #A5B443 #43B451
monochromatic
#46225B #683287 #8A43B4 #A66CC8 #C199D9

Accessibility & contrast

On white

5.93
#8A43B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8A43B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43B4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43B4#FFFFFF#000000##FFFFFF
##8A43B41.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E61B8
Deuteranopia (green-blind)
#3765B1
Tritanopia (blue-blind)
#855975
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a43b4;
/* rgb */ color: rgb(138, 67, 180);
/* oklch */ color: oklch(52.4% 0.178 310.7);
Tailwind
colors: {
  custom: {
    50: '#af7bcb',
    500: '#8a43b4',
    950: '#000000',
  },
}
SCSS
$custom: #8a43b4;
$custom-light: #af7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43b4",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 180
  },
  "hsl": {
    "h": 277.699,
    "s": 45.749,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.17787,
    "h": 310.7
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#8A43B4
secondary
#A2C58E
accent
#D55283
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A43B4

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

Preview Lab → · Contrast checker → · Palette generator →

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