#8A44CA#8A44CA

#8A44CA is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.200 H 304.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8A44CA
RGBrgb(138, 68, 202)
HSLhsl(271, 56%, 53%)
HSVhsv(271, 66%, 79%)
CMYKcmyk(31.7%, 66.3%, 0%, 20.8%)
CIE-LABlab(43.95, 54.11, -58.12)
CIE-LCHlch(43.95, 79.41, 312.96°)
OKLaboklab(54.05% 0.1133 -0.165)
OKLCHoklch(54.05% 0.2 304.5)
XYZxyz(23.2066, 13.8019, 57.3071)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44CA #84CA44
analogous
#4744CA #8A44CA #CA44C7
triadic
#8A44CA #CA8A44 #44CA8A
tetradic
#8A44CA #CA4744 #84CA44 #44C7CA
square
#8A44CA #CA4744 #84CA44 #44C7CA
split-complementary
#8A44CA #C7CA44 #44CA47
monochromatic
#4C2173 #6B2EA3 #8A44CA #A874D8 #C6A3E5

Accessibility & contrast

On white

5.58
#8A44CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8A44CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A44CA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44CA#FFFFFF#000000##FFFFFF
##8A44CA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#1768C7
Tritanopia (blue-blind)
#7E6281
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a44ca;
/* rgb */ color: rgb(138, 68, 202);
/* oklch */ color: oklch(54.0% 0.200 304.5);
Tailwind
colors: {
  custom: {
    50: '#b17ddb',
    500: '#8a44ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a44ca;
$custom-light: #b17ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44ca",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 202
  },
  "hsl": {
    "h": 271.343,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54047,
    "c": 0.20009,
    "h": 304.5
  },
  "luminance": 0.13802
}

Semantic roles & 50–950 ramp

primary
#8A44CA
secondary
#B4D298
accent
#DF4991
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A44CA

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

Preview Lab → · Contrast checker → · Palette generator →

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