#8049AF#8049AF

#8049AF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.160 H 306.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8049AF
RGBrgb(128, 73, 175)
HSLhsl(272, 41%, 49%)
HSVhsv(272, 58%, 69%)
CMYKcmyk(26.9%, 58.3%, 0%, 31.4%)
CIE-LABlab(41.92, 42.80, -45.67)
CIE-LCHlch(41.92, 62.59, 313.14°)
OKLaboklab(51.75% 0.0953 -0.1287)
OKLCHoklch(51.75% 0.16 306.5)
XYZxyz(19.0209, 12.4496, 41.9501)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049AF #78AF49
analogous
#4D49AF #8049AF #AF49AB
triadic
#8049AF #AF8049 #49AF80
tetradic
#8049AF #AF4D49 #78AF49 #49ABAF
square
#8049AF #AF4D49 #78AF49 #49ABAF
split-complementary
#8049AF #ABAF49 #49AF4D
monochromatic
#412559 #603784 #8049AF #9E71C4 #BB9CD6

Accessibility & contrast

On white

6.02
#8049AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8049AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049AF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049AF#FFFFFF#000000##FFFFFF
##8049AF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#3863AD
Tritanopia (blue-blind)
#785D75
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8049af;
/* rgb */ color: rgb(128, 73, 175);
/* oklch */ color: oklch(51.8% 0.160 306.5);
Tailwind
colors: {
  custom: {
    50: '#a87ec7',
    500: '#8049af',
    950: '#000000',
  },
}
SCSS
$custom: #8049af;
$custom-light: #a87ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#8049af",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 272.353,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51752,
    "c": 0.16015,
    "h": 306.5
  },
  "luminance": 0.12449
}

Semantic roles & 50–950 ramp

primary
#8049AF
secondary
#A8C291
accent
#D1578F
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8049AF

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

Preview Lab → · Contrast checker → · Palette generator →

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