#8A43B3#8A43B3

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

Color values

HEX#8A43B3
RGBrgb(138, 67, 179)
HSLhsl(278, 46%, 48%)
HSVhsv(278, 63%, 70%)
CMYKcmyk(22.9%, 62.6%, 0%, 29.8%)
CIE-LABlab(42.27, 49.31, -47.40)
CIE-LCHlch(42.27, 68.40, 316.13°)
OKLaboklab(52.36% 0.1159 -0.1335)
OKLCHoklch(52.36% 0.177 311)
XYZxyz(20.6236, 12.6727, 43.9987)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43B3 #6CB343
analogous
#5243B3 #8A43B3 #B343A4
triadic
#8A43B3 #B38A43 #43B38A
tetradic
#8A43B3 #B35243 #6CB343 #43A4B3
square
#8A43B3 #B35243 #6CB343 #43A4B3
split-complementary
#8A43B3 #A4B343 #43B352
monochromatic
#45225A #683286 #8A43B3 #A66BC8 #C198D8

Accessibility & contrast

On white

5.94
#8A43B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8A43B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43B3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43B3#FFFFFF#000000##FFFFFF
##8A43B31.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B6
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#855975
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a43b3;
/* rgb */ color: rgb(138, 67, 179);
/* oklch */ color: oklch(52.4% 0.177 311.0);
Tailwind
colors: {
  custom: {
    50: '#af7bca',
    500: '#8a43b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a43b3;
$custom-light: #af7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43b3",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 179
  },
  "hsl": {
    "h": 278.036,
    "s": 45.528,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52355,
    "c": 0.1768,
    "h": 311
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#8A43B3
secondary
#A2C48D
accent
#D55382
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A43B3

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

Preview Lab → · Contrast checker → · Palette generator →

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