#8049BF#8049BF

#8049BF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.179 H 302.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8049BF
RGBrgb(128, 73, 191)
HSLhsl(268, 48%, 52%)
HSVhsv(268, 62%, 75%)
CMYKcmyk(33%, 61.8%, 0%, 25.1%)
CIE-LABlab(42.94, 46.72, -53.42)
CIE-LCHlch(42.94, 70.97, 311.17°)
OKLaboklab(52.82% 0.095 -0.1515)
OKLCHoklch(52.82% 0.179 302.1)
XYZxyz(20.6864, 13.1158, 50.7219)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049BF #88BF49
analogous
#494DBF #8049BF #BB49BF
triadic
#8049BF #BF8049 #49BF80
tetradic
#8049BF #BF494D #88BF49 #49BFBB
square
#8049BF #BF494D #88BF49 #49BFBB
split-complementary
#8049BF #BFBB49 #4DBF49
monochromatic
#442569 #623596 #8049BF #A076CF #BFA4DF

Accessibility & contrast

On white

5.80
#8049BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8049BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049BF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049BF#FFFFFF#000000##FFFFFF
##8049BF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2465BC
Tritanopia (blue-blind)
#73627D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8049bf;
/* rgb */ color: rgb(128, 73, 191);
/* oklch */ color: oklch(52.8% 0.179 302.1);
Tailwind
colors: {
  custom: {
    50: '#a97fd3',
    500: '#8049bf',
    950: '#000000',
  },
}
SCSS
$custom: #8049bf;
$custom-light: #a97fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8049bf",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 267.966,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52817,
    "c": 0.17881,
    "h": 302.1
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#8049BF
secondary
#B4CC98
accent
#D85098
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8049BF

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

Preview Lab → · Contrast checker → · Palette generator →

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