#8046AF#8046AF

#8046AF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.165 H 307.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8046AF
RGBrgb(128, 70, 175)
HSLhsl(273, 43%, 48%)
HSVhsv(273, 60%, 69%)
CMYKcmyk(26.9%, 60%, 0%, 31.4%)
CIE-LABlab(41.32, 44.41, -46.63)
CIE-LCHlch(41.32, 64.39, 313.60°)
OKLaboklab(51.31% 0.0991 -0.1316)
OKLCHoklch(51.31% 0.165 307)
XYZxyz(18.8285, 12.0649, 41.8860)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046AF #75AF46
analogous
#4C46AF #8046AF #AF46A9
triadic
#8046AF #AF8046 #46AF80
tetradic
#8046AF #AF4C46 #75AF46 #46A9AF
square
#8046AF #AF4C46 #75AF46 #46A9AF
split-complementary
#8046AF #A9AF46 #46AF4C
monochromatic
#402358 #603583 #8046AF #9E6DC5 #BB99D6

Accessibility & contrast

On white

6.15
#8046AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8046AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046AF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046AF#FFFFFF#000000##FFFFFF
##8046AF1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB2
Deuteranopia (green-blind)
#3462AD
Tritanopia (blue-blind)
#795A74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8046af;
/* rgb */ color: rgb(128, 70, 175);
/* oklch */ color: oklch(51.3% 0.165 307.0);
Tailwind
colors: {
  custom: {
    50: '#a87cc7',
    500: '#8046af',
    950: '#000000',
  },
}
SCSS
$custom: #8046af;
$custom-light: #a87cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8046af",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 273.143,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.16472,
    "h": 307
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

primary
#8046AF
secondary
#A6C28E
accent
#D3558D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8046AF

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

Preview Lab → · Contrast checker → · Palette generator →

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