#8A44B2#8A44B2

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

Color values

HEX#8A44B2
RGBrgb(138, 68, 178)
HSLhsl(278, 45%, 48%)
HSVhsv(278, 62%, 70%)
CMYKcmyk(22.5%, 61.8%, 0%, 30.2%)
CIE-LABlab(42.39, 48.58, -46.62)
CIE-LCHlch(42.39, 67.33, 316.18°)
OKLaboklab(52.42% 0.1147 -0.1312)
OKLCHoklch(52.42% 0.174 311.2)
XYZxyz(20.5827, 12.7523, 43.4880)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44B2 #6CB244
analogous
#5344B2 #8A44B2 #B244A3
triadic
#8A44B2 #B28A44 #44B28A
tetradic
#8A44B2 #B25344 #6CB244 #44A3B2
square
#8A44B2 #B25344 #6CB244 #44A3B2
split-complementary
#8A44B2 #A3B244 #44B253
monochromatic
#452259 #683386 #8A44B2 #A66CC7 #C199D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A44B2#FFFFFF#000000##FFFFFF
##8A44B21.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)
#1761B5
Deuteranopia (green-blind)
#3A65AF
Tritanopia (blue-blind)
#855975
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a44b2;
/* rgb */ color: rgb(138, 68, 178);
/* oklch */ color: oklch(52.4% 0.174 311.2);
Tailwind
colors: {
  custom: {
    50: '#af7cca',
    500: '#8a44b2',
    950: '#000000',
  },
}
SCSS
$custom: #8a44b2;
$custom-light: #af7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44b2",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 178
  },
  "hsl": {
    "h": 278.182,
    "s": 44.715,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52423,
    "c": 0.17427,
    "h": 311.2
  },
  "luminance": 0.12752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A44B2

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

Preview Lab → · Contrast checker → · Palette generator →

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