#8046C1#8046C1

#8046C1 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.185 H 302.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8046C1
RGBrgb(128, 70, 193)
HSLhsl(268, 50%, 52%)
HSVhsv(268, 64%, 76%)
CMYKcmyk(33.7%, 63.7%, 0%, 24.3%)
CIE-LABlab(42.49, 48.79, -55.31)
CIE-LCHlch(42.49, 73.75, 311.41°)
OKLaboklab(52.54% 0.0984 -0.157)
OKLCHoklch(52.54% 0.185 302.1)
XYZxyz(20.7156, 12.8197, 51.8248)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046C1 #87C146
analogous
#464AC1 #8046C1 #BE46C1
triadic
#8046C1 #C18046 #46C180
tetradic
#8046C1 #C1464A #87C146 #46C1BE
square
#8046C1 #C1464A #87C146 #46C1BE
split-complementary
#8046C1 #C1BE46 #4AC146
monochromatic
#442369 #623397 #8046C1 #9F74D0 #BFA2E0

Accessibility & contrast

On white

5.89
#8046C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8046C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046C1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046C1#FFFFFF#000000##FFFFFF
##8046C11.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#1A64BE
Tritanopia (blue-blind)
#73617D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8046c1;
/* rgb */ color: rgb(128, 70, 193);
/* oklch */ color: oklch(52.5% 0.185 302.1);
Tailwind
colors: {
  custom: {
    50: '#a97dd4',
    500: '#8046c1',
    950: '#000000',
  },
}
SCSS
$custom: #8046c1;
$custom-light: #a97dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8046c1",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 193
  },
  "hsl": {
    "h": 268.293,
    "s": 49.798,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52536,
    "c": 0.18531,
    "h": 302.1
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#8046C1
secondary
#B3CC96
accent
#D94E98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8046C1

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

Preview Lab → · Contrast checker → · Palette generator →

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