#8A49C8#8A49C8

#8A49C8 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.6% C 0.191 H 304.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A49C8
RGBrgb(138, 73, 200)
HSLhsl(271, 54%, 54%)
HSVhsv(271, 64%, 78%)
CMYKcmyk(31%, 63.5%, 0%, 21.6%)
CIE-LABlab(44.71, 51.17, -55.73)
CIE-LCHlch(44.71, 75.65, 312.56°)
OKLaboklab(54.56% 0.1078 -0.1579)
OKLCHoklch(54.56% 0.191 304.3)
XYZxyz(23.2868, 14.3386, 56.1732)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49C8 #87C849
analogous
#4A49C8 #8A49C8 #C849C6
triadic
#8A49C8 #C88A49 #49C88A
tetradic
#8A49C8 #C84A49 #87C849 #49C6C8
square
#8A49C8 #C84A49 #87C849 #49C6C8
split-complementary
#8A49C8 #C6C849 #49C84A
monochromatic
#4C2374 #6B31A3 #8A49C8 #A878D6 #C6A7E4

Accessibility & contrast

On white

5.43
#8A49C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8A49C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49C8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49C8#FFFFFF#000000##FFFFFF
##8A49C81.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#266AC5
Tritanopia (blue-blind)
#7F6482
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a49c8;
/* rgb */ color: rgb(138, 73, 200);
/* oklch */ color: oklch(54.6% 0.191 304.3);
Tailwind
colors: {
  custom: {
    50: '#b07fd9',
    500: '#8a49c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a49c8;
$custom-light: #b07fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49c8",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 270.709,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54557,
    "c": 0.19121,
    "h": 304.3
  },
  "luminance": 0.14338
}

Semantic roles & 50–950 ramp

primary
#8A49C8
secondary
#B6D29B
accent
#DD4B92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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