#8046C9#8046C9

#8046C9 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.1% C 0.194 H 300.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8046C9
RGBrgb(128, 70, 201)
HSLhsl(267, 55%, 53%)
HSVhsv(267, 65%, 79%)
CMYKcmyk(36.3%, 65.2%, 0%, 21.2%)
CIE-LABlab(43.04, 50.78, -59.06)
CIE-LCHlch(43.04, 77.89, 310.69°)
OKLaboklab(53.11% 0.0977 -0.1681)
OKLCHoklch(53.11% 0.194 300.2)
XYZxyz(21.6323, 13.1864, 56.6526)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046C9 #8FC946
analogous
#464DC9 #8046C9 #C246C9
triadic
#8046C9 #C98046 #46C980
tetradic
#8046C9 #C9464D #8FC946 #46C9C2
square
#8046C9 #C9464D #8FC946 #46C9C2
split-complementary
#8046C9 #C9C246 #4DC946
monochromatic
#462273 #622FA2 #8046C9 #A175D7 #C1A5E5

Accessibility & contrast

On white

5.77
#8046C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8046C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046C9
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046C9#FFFFFF#000000##FFFFFF
##8046C91.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#0065C6
Tritanopia (blue-blind)
#706481
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8046c9;
/* rgb */ color: rgb(128, 70, 201);
/* oklch */ color: oklch(53.1% 0.194 300.2);
Tailwind
colors: {
  custom: {
    50: '#aa7dda',
    500: '#8046c9',
    950: '#000000',
  },
}
SCSS
$custom: #8046c9;
$custom-light: #aa7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#8046c9",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 201
  },
  "hsl": {
    "h": 266.565,
    "s": 54.812,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5311,
    "c": 0.19439,
    "h": 300.2
  },
  "luminance": 0.13187
}

Semantic roles & 50–950 ramp

primary
#8046C9
secondary
#B9D299
accent
#DE4A9C
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #8046C9

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

Preview Lab → · Contrast checker → · Palette generator →

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