#8046BF#8046BF

#8046BF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.183 H 302.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8046BF
RGBrgb(128, 70, 191)
HSLhsl(269, 49%, 51%)
HSVhsv(269, 63%, 75%)
CMYKcmyk(33%, 63.4%, 0%, 25.1%)
CIE-LABlab(42.36, 48.29, -54.36)
CIE-LCHlch(42.36, 72.71, 311.62°)
OKLaboklab(52.4% 0.0985 -0.1542)
OKLCHoklch(52.4% 0.183 302.6)
XYZxyz(20.4940, 12.7311, 50.6578)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046BF #85BF46
analogous
#4648BF #8046BF #BC46BF
triadic
#8046BF #BF8046 #46BF80
tetradic
#8046BF #BF4648 #85BF46 #46BFBC
square
#8046BF #BF4648 #85BF46 #46BFBC
split-complementary
#8046BF #BFBC46 #48BF46
monochromatic
#442467 #623394 #8046BF #9F73CF #BEA1DE

Accessibility & contrast

On white

5.92
#8046BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8046BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046BF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046BF#FFFFFF#000000##FFFFFF
##8046BF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#1E64BC
Tritanopia (blue-blind)
#74607C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8046bf;
/* rgb */ color: rgb(128, 70, 191);
/* oklch */ color: oklch(52.4% 0.183 302.6);
Tailwind
colors: {
  custom: {
    50: '#a97dd3',
    500: '#8046bf',
    950: '#000000',
  },
}
SCSS
$custom: #8046bf;
$custom-light: #a97dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8046bf",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 268.76,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52395,
    "c": 0.18303,
    "h": 302.6
  },
  "luminance": 0.12731
}

Semantic roles & 50–950 ramp

primary
#8046BF
secondary
#B2CB96
accent
#D85097
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8046BF

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

Preview Lab → · Contrast checker → · Palette generator →

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