#8A44CB#8A44CB

#8A44CB is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.201 H 304.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A44CB
RGBrgb(138, 68, 203)
HSLhsl(271, 56%, 53%)
HSVhsv(271, 67%, 80%)
CMYKcmyk(32%, 66.5%, 0%, 20.4%)
CIE-LABlab(44.02, 54.35, -58.59)
CIE-LCHlch(44.02, 79.91, 312.85°)
OKLaboklab(54.12% 0.1131 -0.1663)
OKLCHoklch(54.12% 0.201 304.2)
XYZxyz(23.3254, 13.8494, 57.9327)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44CB #85CB44
analogous
#4644CB #8A44CB #CB44C8
triadic
#8A44CB #CB8A44 #44CB8A
tetradic
#8A44CB #CB4644 #85CB44 #44C8CB
square
#8A44CB #CB4644 #85CB44 #44C8CB
split-complementary
#8A44CB #C8CB44 #44CB46
monochromatic
#4C2074 #6B2EA4 #8A44CB #A874D8 #C6A4E6

Accessibility & contrast

On white

5.57
#8A44CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8A44CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A44CB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44CB#FFFFFF#000000##FFFFFF
##8A44CB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#1468C8
Tritanopia (blue-blind)
#7E6282
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a44cb;
/* rgb */ color: rgb(138, 68, 203);
/* oklch */ color: oklch(54.1% 0.201 304.2);
Tailwind
colors: {
  custom: {
    50: '#b17ddc',
    500: '#8a44cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a44cb;
$custom-light: #b17ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44cb",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 203
  },
  "hsl": {
    "h": 271.111,
    "s": 56.485,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54118,
    "c": 0.20116,
    "h": 304.2
  },
  "luminance": 0.13849
}

Semantic roles & 50–950 ramp

primary
#8A44CB
secondary
#B4D398
accent
#E04891
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A44CB

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

Preview Lab → · Contrast checker → · Palette generator →

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