#8A49CA#8A49CA

#8A49CA is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.7% C 0.193 H 303.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8A49CA
RGBrgb(138, 73, 202)
HSLhsl(270, 55%, 54%)
HSVhsv(270, 64%, 79%)
CMYKcmyk(31.7%, 63.9%, 0%, 20.8%)
CIE-LABlab(44.85, 51.65, -56.67)
CIE-LCHlch(44.85, 76.67, 312.35°)
OKLaboklab(54.7% 0.1076 -0.1607)
OKLCHoklch(54.7% 0.193 303.8)
XYZxyz(23.5220, 14.4327, 57.4123)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49CA #89CA49
analogous
#4A49CA #8A49CA #CA49C9
triadic
#8A49CA #CA8A49 #49CA8A
tetradic
#8A49CA #CA4A49 #89CA49 #49C9CA
square
#8A49CA #CA4A49 #89CA49 #49C9CA
split-complementary
#8A49CA #C9CA49 #49CA4A
monochromatic
#4D2276 #6B30A6 #8A49CA #A878D8 #C7A8E6

Accessibility & contrast

On white

5.40
#8A49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8A49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49CA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49CA#FFFFFF#000000##FFFFFF
##8A49CA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#226AC7
Tritanopia (blue-blind)
#7E6583
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a49ca;
/* rgb */ color: rgb(138, 73, 202);
/* oklch */ color: oklch(54.7% 0.193 303.8);
Tailwind
colors: {
  custom: {
    50: '#b17fdb',
    500: '#8a49ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a49ca;
$custom-light: #b17fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49ca",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 270.233,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54695,
    "c": 0.19342,
    "h": 303.8
  },
  "luminance": 0.14433
}

Semantic roles & 50–950 ramp

primary
#8A49CA
secondary
#B7D39C
accent
#DE4A93
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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