#8046BC#8046BC

#8046BC is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.180 H 303.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8046BC
RGBrgb(128, 70, 188)
HSLhsl(269, 47%, 51%)
HSVhsv(269, 63%, 74%)
CMYKcmyk(31.9%, 62.8%, 0%, 26.3%)
CIE-LABlab(42.15, 47.55, -52.93)
CIE-LCHlch(42.15, 71.16, 311.94°)
OKLaboklab(52.19% 0.0987 -0.15)
OKLCHoklch(52.19% 0.18 303.3)
XYZxyz(20.1673, 12.6004, 48.9369)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046BC #82BC46
analogous
#4647BC #8046BC #BB46BC
triadic
#8046BC #BC8046 #46BC80
tetradic
#8046BC #BC4647 #82BC46 #46BCBB
square
#8046BC #BC4647 #82BC46 #46BCBB
split-complementary
#8046BC #BCBB46 #47BC46
monochromatic
#432464 #623490 #8046BC #9F73CC #BEA0DD

Accessibility & contrast

On white

5.97
#8046BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8046BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046BC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046BC#FFFFFF#000000##FFFFFF
##8046BC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#755F7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8046bc;
/* rgb */ color: rgb(128, 70, 188);
/* oklch */ color: oklch(52.2% 0.180 303.3);
Tailwind
colors: {
  custom: {
    50: '#a97dd1',
    500: '#8046bc',
    950: '#000000',
  },
}
SCSS
$custom: #8046bc;
$custom-light: #a97dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8046bc",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 269.492,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.17961,
    "h": 303.3
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

primary
#8046BC
secondary
#AFC995
accent
#D65195
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8046BC

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

Preview Lab → · Contrast checker → · Palette generator →

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