#8A44CD#8A44CD

#8A44CD is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.3% C 0.203 H 303.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A44CD
RGBrgb(138, 68, 205)
HSLhsl(271, 58%, 54%)
HSVhsv(271, 67%, 80%)
CMYKcmyk(32.7%, 66.8%, 0%, 19.6%)
CIE-LABlab(44.15, 54.82, -59.52)
CIE-LCHlch(44.15, 80.92, 312.65°)
OKLaboklab(54.26% 0.1129 -0.1691)
OKLCHoklch(54.26% 0.203 303.7)
XYZxyz(23.5653, 13.9453, 59.1960)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44CD #87CD44
analogous
#4544CD #8A44CD #CD44CB
triadic
#8A44CD #CD8A44 #44CD8A
tetradic
#8A44CD #CD4544 #87CD44 #44CBCD
square
#8A44CD #CD4544 #87CD44 #44CBCD
split-complementary
#8A44CD #CBCD44 #44CD45
monochromatic
#4C2077 #6B2DA7 #8A44CD #A874DA #C6A5E7

Accessibility & contrast

On white

5.54
#8A44CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8A44CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A44CD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44CD#FFFFFF#000000##FFFFFF
##8A44CD1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0D68CA
Tritanopia (blue-blind)
#7D6383
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a44cd;
/* rgb */ color: rgb(138, 68, 205);
/* oklch */ color: oklch(54.3% 0.203 303.7);
Tailwind
colors: {
  custom: {
    50: '#b17ddd',
    500: '#8a44cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a44cd;
$custom-light: #b17ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44cd",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 205
  },
  "hsl": {
    "h": 270.657,
    "s": 57.806,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54261,
    "c": 0.20331,
    "h": 303.7
  },
  "luminance": 0.13945
}

Semantic roles & 50–950 ramp

primary
#8A44CD
secondary
#B6D499
accent
#E14792
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A44CD

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

Preview Lab → · Contrast checker → · Palette generator →

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