#8A49D7#8A49D7

#8A49D7 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.208 H 300.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A49D7
RGBrgb(138, 73, 215)
HSLhsl(267, 64%, 56%)
HSVhsv(267, 66%, 84%)
CMYKcmyk(35.8%, 66%, 0%, 15.7%)
CIE-LABlab(45.74, 54.79, -62.70)
CIE-LCHlch(45.74, 83.27, 311.15°)
OKLaboklab(55.62% 0.1064 -0.1784)
OKLCHoklch(55.62% 0.208 300.8)
XYZxyz(25.1265, 15.0745, 65.8627)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49D7 #96D749
analogous
#494FD7 #8A49D7 #D149D7
triadic
#8A49D7 #D78A49 #49D78A
tetradic
#8A49D7 #D7494F #96D749 #49D7D1
square
#8A49D7 #D7494F #96D749 #49D7D1
split-complementary
#8A49D7 #D7D149 #4FD749
monochromatic
#4E1E88 #6B29BA #8A49D7 #AA7BE2 #CBADED

Accessibility & contrast

On white

5.23
#8A49D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8A49D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49D7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49D7#FFFFFF#000000##FFFFFF
##8A49D71.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#79698A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a49d7;
/* rgb */ color: rgb(138, 73, 215);
/* oklch */ color: oklch(55.6% 0.208 300.8);
Tailwind
colors: {
  custom: {
    50: '#b280e4',
    500: '#8a49d7',
    950: '#000000',
  },
}
SCSS
$custom: #8a49d7;
$custom-light: #b280e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49d7",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 215
  },
  "hsl": {
    "h": 267.465,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55617,
    "c": 0.20777,
    "h": 300.8
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#8A49D7
secondary
#C0DBA1
accent
#E7419B
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8A49D7

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

Preview Lab → · Contrast checker → · Palette generator →

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