#8A49C1#8A49C1

#8A49C1 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.183 H 306.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A49C1
RGBrgb(138, 73, 193)
HSLhsl(273, 49%, 52%)
HSVhsv(273, 62%, 76%)
CMYKcmyk(28.5%, 62.2%, 0%, 24.3%)
CIE-LABlab(44.26, 49.50, -52.40)
CIE-LCHlch(44.26, 72.08, 313.37°)
OKLaboklab(54.08% 0.1082 -0.1482)
OKLCHoklch(54.08% 0.183 306.1)
XYZxyz(22.4874, 14.0188, 51.9630)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49C1 #80C149
analogous
#4E49C1 #8A49C1 #C149BC
triadic
#8A49C1 #C18A49 #49C18A
tetradic
#8A49C1 #C14E49 #80C149 #49BCC1
square
#8A49C1 #C14E49 #80C149 #49BCC1
split-complementary
#8A49C1 #BCC149 #49C14E
monochromatic
#4B246B #6B3499 #8A49C1 #A777D1 #C5A4E0

Accessibility & contrast

On white

5.52
#8A49C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8A49C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49C1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49C1#FFFFFF#000000##FFFFFF
##8A49C11.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C5
Deuteranopia (green-blind)
#3069BE
Tritanopia (blue-blind)
#81617E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a49c1;
/* rgb */ color: rgb(138, 73, 193);
/* oklch */ color: oklch(54.1% 0.183 306.1);
Tailwind
colors: {
  custom: {
    50: '#b07fd4',
    500: '#8a49c1',
    950: '#000000',
  },
}
SCSS
$custom: #8a49c1;
$custom-light: #b07fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49c1",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 193
  },
  "hsl": {
    "h": 272.5,
    "s": 49.18,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.18344,
    "h": 306.1
  },
  "luminance": 0.14019
}

Semantic roles & 50–950 ramp

primary
#8A49C1
secondary
#B1CD99
accent
#D94F8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A49C1

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

Preview Lab → · Contrast checker → · Palette generator →

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