#8049BB#8049BB

#8049BB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.174 H 303.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8049BB
RGBrgb(128, 73, 187)
HSLhsl(269, 46%, 51%)
HSVhsv(269, 61%, 73%)
CMYKcmyk(31.6%, 61%, 0%, 26.7%)
CIE-LABlab(42.68, 45.73, -51.51)
CIE-LCHlch(42.68, 68.88, 311.60°)
OKLaboklab(52.54% 0.0951 -0.1459)
OKLCHoklch(52.54% 0.174 303.1)
XYZxyz(20.2522, 12.9422, 48.4352)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049BB #84BB49
analogous
#494BBB #8049BB #B949BB
triadic
#8049BB #BB8049 #49BB80
tetradic
#8049BB #BB494B #84BB49 #49BBB9
square
#8049BB #BB494B #84BB49 #49BBB9
split-complementary
#8049BB #BBB949 #4BBB49
monochromatic
#442564 #623691 #8049BB #9F76CC #BEA2DC

Accessibility & contrast

On white

5.85
#8049BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8049BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049BB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049BB#FFFFFF#000000##FFFFFF
##8049BB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0464BF
Deuteranopia (green-blind)
#2A65B8
Tritanopia (blue-blind)
#75617B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8049bb;
/* rgb */ color: rgb(128, 73, 187);
/* oklch */ color: oklch(52.5% 0.174 303.1);
Tailwind
colors: {
  custom: {
    50: '#a97ed0',
    500: '#8049bb',
    950: '#000000',
  },
}
SCSS
$custom: #8049bb;
$custom-light: #a97ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8049bb",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 268.947,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.17416,
    "h": 303.1
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#8049BB
secondary
#B1C997
accent
#D55396
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8049BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8049BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva