#8046B1#8046B1

#8046B1 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.167 H 306.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8046B1
RGBrgb(128, 70, 177)
HSLhsl(273, 43%, 48%)
HSVhsv(273, 60%, 69%)
CMYKcmyk(27.7%, 60.5%, 0%, 30.6%)
CIE-LABlab(41.44, 44.89, -47.61)
CIE-LCHlch(41.44, 65.43, 313.31°)
OKLaboklab(51.44% 0.0991 -0.1344)
OKLCHoklch(51.44% 0.167 306.4)
XYZxyz(19.0264, 12.1440, 42.9281)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046B1 #77B146
analogous
#4A46B1 #8046B1 #B146AC
triadic
#8046B1 #B18046 #46B180
tetradic
#8046B1 #B14A46 #77B146 #46ACB1
square
#8046B1 #B14A46 #77B146 #46ACB1
split-complementary
#8046B1 #ACB146 #46B14A
monochromatic
#412359 #603585 #8046B1 #9E6EC6 #BB9AD7

Accessibility & contrast

On white

6.12
#8046B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8046B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046B1
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046B1#FFFFFF#000000##FFFFFF
##8046B11.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B4
Deuteranopia (green-blind)
#3262AF
Tritanopia (blue-blind)
#785B75
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8046b1;
/* rgb */ color: rgb(128, 70, 177);
/* oklch */ color: oklch(51.4% 0.167 306.4);
Tailwind
colors: {
  custom: {
    50: '#a87cc9',
    500: '#8046b1',
    950: '#000000',
  },
}
SCSS
$custom: #8046b1;
$custom-light: #a87cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8046b1",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 177
  },
  "hsl": {
    "h": 272.523,
    "s": 43.32,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51443,
    "c": 0.16701,
    "h": 306.4
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#8046B1
secondary
#A7C38F
accent
#D3558F
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8046B1

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

Preview Lab → · Contrast checker → · Palette generator →

#8046B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva