#8A49D3#8A49D3

#8A49D3 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.203 H 301.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8A49D3
RGBrgb(138, 73, 211)
HSLhsl(268, 61%, 56%)
HSVhsv(268, 65%, 83%)
CMYKcmyk(34.6%, 65.4%, 0%, 17.3%)
CIE-LABlab(45.46, 53.82, -60.86)
CIE-LCHlch(45.46, 81.25, 311.49°)
OKLaboklab(55.33% 0.1068 -0.173)
OKLCHoklch(55.33% 0.203 301.7)
XYZxyz(24.6189, 14.8714, 63.1888)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49D3 #92D349
analogous
#494DD3 #8A49D3 #CF49D3
triadic
#8A49D3 #D38A49 #49D38A
tetradic
#8A49D3 #D3494D #92D349 #49D3CF
square
#8A49D3 #D3494D #92D349 #49D3CF
split-complementary
#8A49D3 #D3CF49 #4DD349
monochromatic
#4E1F82 #6B2BB3 #8A49D3 #AA7ADF #C9ACEB

Accessibility & contrast

On white

5.28
#8A49D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8A49D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49D3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49D3#FFFFFF#000000##FFFFFF
##8A49D31.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#076BD0
Tritanopia (blue-blind)
#7B6888
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a49d3;
/* rgb */ color: rgb(138, 73, 211);
/* oklch */ color: oklch(55.3% 0.203 301.7);
Tailwind
colors: {
  custom: {
    50: '#b180e1',
    500: '#8a49d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a49d3;
$custom-light: #b180e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49d3",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 211
  },
  "hsl": {
    "h": 268.261,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55329,
    "c": 0.20337,
    "h": 301.7
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#8A49D3
secondary
#BED99F
accent
#E44499
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A49D3

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

Preview Lab → · Contrast checker → · Palette generator →

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