#8A49CB#8A49CB

#8A49CB is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.8% C 0.195 H 303.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8A49CB
RGBrgb(138, 73, 203)
HSLhsl(270, 56%, 54%)
HSVhsv(270, 64%, 80%)
CMYKcmyk(32%, 64%, 0%, 20.4%)
CIE-LABlab(44.91, 51.89, -57.14)
CIE-LCHlch(44.91, 77.18, 312.24°)
OKLaboklab(54.76% 0.1076 -0.1621)
OKLCHoklch(54.76% 0.195 303.6)
XYZxyz(23.6408, 14.4802, 58.0378)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49CB #8ACB49
analogous
#4949CB #8A49CB #CB49CB
triadic
#8A49CB #CB8A49 #49CB8A
tetradic
#8A49CB #CB4949 #8ACB49 #49CBCB
square
#8A49CB #CB4949 #8ACB49 #49CBCB
split-complementary
#8A49CB #CBCB49 #49CB49
monochromatic
#4D2277 #6B30A7 #8A49CB #A979D9 #C7A8E6

Accessibility & contrast

On white

5.39
#8A49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8A49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49CB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49CB#FFFFFF#000000##FFFFFF
##8A49CB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#206AC8
Tritanopia (blue-blind)
#7E6583
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a49cb;
/* rgb */ color: rgb(138, 73, 203);
/* oklch */ color: oklch(54.8% 0.195 303.6);
Tailwind
colors: {
  custom: {
    50: '#b180dc',
    500: '#8a49cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a49cb;
$custom-light: #b180dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49cb",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 270,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54764,
    "c": 0.19453,
    "h": 303.6
  },
  "luminance": 0.1448
}

Semantic roles & 50–950 ramp

primary
#8A49CB
secondary
#B8D49C
accent
#DF4994
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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