#8A49E3#8A49E3

#8A49E3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.221 H 298.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8A49E3
RGBrgb(138, 73, 227)
HSLhsl(265, 73%, 59%)
HSVhsv(265, 68%, 89%)
CMYKcmyk(39.2%, 67.8%, 0%, 11%)
CIE-LABlab(46.60, 57.75, -68.14)
CIE-LCHlch(46.60, 89.32, 310.28°)
OKLaboklab(56.51% 0.1048 -0.1944)
OKLCHoklch(56.51% 0.221 298.3)
XYZxyz(26.7254, 15.7140, 74.2832)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49E3 #A2E349
analogous
#4955E3 #8A49E3 #D749E3
triadic
#8A49E3 #E38A49 #49E38A
tetradic
#8A49E3 #E34955 #A2E349 #49E3D7
square
#8A49E3 #E34955 #A2E349 #49E3D7
split-complementary
#8A49E3 #E3D749 #55E349
monochromatic
#4F189A #6A20CF #8A49E3 #AC7EEB #CEB3F3

Accessibility & contrast

On white

5.07
#8A49E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8A49E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49E3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49E3#FFFFFF#000000##FFFFFF
##8A49E31.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#006DE0
Tritanopia (blue-blind)
#756E90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a49e3;
/* rgb */ color: rgb(138, 73, 227);
/* oklch */ color: oklch(56.5% 0.221 298.3);
Tailwind
colors: {
  custom: {
    50: '#b380ed',
    500: '#8a49e3',
    950: '#000000',
  },
}
SCSS
$custom: #8a49e3;
$custom-light: #b380ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49e3",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 227
  },
  "hsl": {
    "h": 265.325,
    "s": 73.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56505,
    "c": 0.2209,
    "h": 298.3
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#8A49E3
secondary
#C9E2A6
accent
#F038A2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8A49E3

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

Preview Lab → · Contrast checker → · Palette generator →

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