#8046BD#8046BD

#8046BD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.181 H 303.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8046BD
RGBrgb(128, 70, 189)
HSLhsl(269, 47%, 51%)
HSVhsv(269, 63%, 74%)
CMYKcmyk(32.3%, 63%, 0%, 25.9%)
CIE-LABlab(42.22, 47.80, -53.41)
CIE-LCHlch(42.22, 71.68, 311.83°)
OKLaboklab(52.26% 0.0987 -0.1515)
OKLCHoklch(52.26% 0.181 303.1)
XYZxyz(20.2754, 12.6436, 49.5065)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046BD #83BD46
analogous
#4647BD #8046BD #BB46BD
triadic
#8046BD #BD8046 #46BD80
tetradic
#8046BD #BD4647 #83BD46 #46BDBB
square
#8046BD #BD4647 #83BD46 #46BDBB
split-complementary
#8046BD #BDBB46 #47BD46
monochromatic
#432465 #623492 #8046BD #9F73CD #BEA0DD

Accessibility & contrast

On white

5.95
#8046BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8046BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046BD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046BD#FFFFFF#000000##FFFFFF
##8046BD1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#745F7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8046bd;
/* rgb */ color: rgb(128, 70, 189);
/* oklch */ color: oklch(52.3% 0.181 303.1);
Tailwind
colors: {
  custom: {
    50: '#a97dd2',
    500: '#8046bd',
    950: '#000000',
  },
}
SCSS
$custom: #8046bd;
$custom-light: #a97dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8046bd",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 269.244,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52256,
    "c": 0.18075,
    "h": 303.1
  },
  "luminance": 0.12644
}

Semantic roles & 50–950 ramp

primary
#8046BD
secondary
#B0CA95
accent
#D75196
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8046BD

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

Preview Lab → · Contrast checker → · Palette generator →

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