#8A44D2#8A44D2

#8A44D2 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.209 H 302.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A44D2
RGBrgb(138, 68, 210)
HSLhsl(270, 61%, 55%)
HSVhsv(270, 68%, 82%)
CMYKcmyk(34.3%, 67.6%, 0%, 17.6%)
CIE-LABlab(44.51, 56.01, -61.83)
CIE-LCHlch(44.51, 83.43, 312.17°)
OKLaboklab(54.62% 0.1123 -0.1759)
OKLCHoklch(54.62% 0.209 302.6)
XYZxyz(24.1785, 14.1906, 62.4255)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44D2 #8CD244
analogous
#4445D2 #8A44D2 #D144D2
triadic
#8A44D2 #D28A44 #44D28A
tetradic
#8A44D2 #D24445 #8CD244 #44D2D1
square
#8A44D2 #D24445 #8CD244 #44D2D1
split-complementary
#8A44D2 #D2D144 #45D244
monochromatic
#4D1E7D #6B2AAF #8A44D2 #A975DE #C8A7EA

Accessibility & contrast

On white

5.47
#8A44D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8A44D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A44D2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44D2#FFFFFF#000000##FFFFFF
##8A44D21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#7B6586
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a44d2;
/* rgb */ color: rgb(138, 68, 210);
/* oklch */ color: oklch(54.6% 0.209 302.6);
Tailwind
colors: {
  custom: {
    50: '#b17de1',
    500: '#8a44d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a44d2;
$custom-light: #b17de1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44d2",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 210
  },
  "hsl": {
    "h": 269.577,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.20868,
    "h": 302.6
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#8A44D2
secondary
#B9D79B
accent
#E44395
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A44D2

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

Preview Lab → · Contrast checker → · Palette generator →

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