#8A49CE#8A49CE

#8A49CE is a mid, vivid violet. Relative luminance 0.146; OKLCH L 55.0% C 0.198 H 302.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A49CE
RGBrgb(138, 73, 206)
HSLhsl(269, 58%, 55%)
HSVhsv(269, 65%, 81%)
CMYKcmyk(33%, 64.6%, 0%, 19.2%)
CIE-LABlab(45.12, 52.61, -58.54)
CIE-LCHlch(45.12, 78.71, 311.94°)
OKLaboklab(54.97% 0.1073 -0.1662)
OKLCHoklch(54.97% 0.198 302.8)
XYZxyz(24.0018, 14.6246, 59.9389)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49CE #8DCE49
analogous
#494BCE #8A49CE #CC49CE
triadic
#8A49CE #CE8A49 #49CE8A
tetradic
#8A49CE #CE494B #8DCE49 #49CECC
square
#8A49CE #CE494B #8DCE49 #49CECC
split-complementary
#8A49CE #CECC49 #4BCE49
monochromatic
#4D217B #6B2EAC #8A49CE #A979DB #C8A9E8

Accessibility & contrast

On white

5.35
#8A49CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8A49CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49CE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49CE#FFFFFF#000000##FFFFFF
##8A49CE1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#196ACB
Tritanopia (blue-blind)
#7D6685
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a49ce;
/* rgb */ color: rgb(138, 73, 206);
/* oklch */ color: oklch(55.0% 0.198 302.8);
Tailwind
colors: {
  custom: {
    50: '#b180de',
    500: '#8a49ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a49ce;
$custom-light: #b180de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49ce",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 269.323,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54974,
    "c": 0.19785,
    "h": 302.8
  },
  "luminance": 0.14625
}

Semantic roles & 50–950 ramp

primary
#8A49CE
secondary
#BAD59D
accent
#E14796
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A49CE

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

Preview Lab → · Contrast checker → · Palette generator →

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