#8A44B3#8A44B3

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

Color values

HEX#8A44B3
RGBrgb(138, 68, 179)
HSLhsl(278, 45%, 48%)
HSVhsv(278, 62%, 70%)
CMYKcmyk(22.9%, 62%, 0%, 29.8%)
CIE-LABlab(42.45, 48.81, -47.11)
CIE-LCHlch(42.45, 67.84, 316.01°)
OKLaboklab(52.49% 0.1147 -0.1326)
OKLCHoklch(52.49% 0.175 310.8)
XYZxyz(20.6835, 12.7926, 44.0187)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44B3 #6DB344
analogous
#5244B3 #8A44B3 #B344A4
triadic
#8A44B3 #B38A44 #44B38A
tetradic
#8A44B3 #B35244 #6DB344 #44A4B3
square
#8A44B3 #B35244 #6DB344 #44A4B3
split-complementary
#8A44B3 #A4B344 #44B352
monochromatic
#46225A #683387 #8A44B3 #A66DC7 #C199D8

Accessibility & contrast

On white

5.90
#8A44B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8A44B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A44B3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44B3#FFFFFF#000000##FFFFFF
##8A44B31.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a44b3;
/* rgb */ color: rgb(138, 68, 179);
/* oklch */ color: oklch(52.5% 0.175 310.8);
Tailwind
colors: {
  custom: {
    50: '#af7cca',
    500: '#8a44b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a44b3;
$custom-light: #af7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44b3",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 179
  },
  "hsl": {
    "h": 277.838,
    "s": 44.939,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52488,
    "c": 0.17534,
    "h": 310.8
  },
  "luminance": 0.12792
}

Semantic roles & 50–950 ramp

primary
#8A44B3
secondary
#A2C48E
accent
#D55383
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A44B3

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

Preview Lab → · Contrast checker → · Palette generator →

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