#8043B1#8043B1

#8043B1 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.171 H 306.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8043B1
RGBrgb(128, 67, 177)
HSLhsl(273, 45%, 48%)
HSVhsv(273, 62%, 69%)
CMYKcmyk(27.7%, 62.1%, 0%, 30.6%)
CIE-LABlab(40.86, 46.46, -48.55)
CIE-LCHlch(40.86, 67.19, 313.74°)
OKLaboklab(51.02% 0.1028 -0.1372)
OKLCHoklch(51.02% 0.171 306.9)
XYZxyz(18.8434, 11.7780, 42.8672)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043B1 #74B143
analogous
#4943B1 #8043B1 #B143AB
triadic
#8043B1 #B18043 #43B180
tetradic
#8043B1 #B14943 #74B143 #43ABB1
square
#8043B1 #B14943 #74B143 #43ABB1
split-complementary
#8043B1 #ABB143 #43B149
monochromatic
#402158 #603285 #8043B1 #9E6AC7 #BB97D8

Accessibility & contrast

On white

6.26
#8043B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8043B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8043B1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043B1#FFFFFF#000000##FFFFFF
##8043B11.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065EB4
Deuteranopia (green-blind)
#2E61AE
Tritanopia (blue-blind)
#785974
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8043b1;
/* rgb */ color: rgb(128, 67, 177);
/* oklch */ color: oklch(51.0% 0.171 306.9);
Tailwind
colors: {
  custom: {
    50: '#a87ac9',
    500: '#8043b1',
    950: '#000000',
  },
}
SCSS
$custom: #8043b1;
$custom-light: #a87ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8043b1",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 177
  },
  "hsl": {
    "h": 273.273,
    "s": 45.082,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51019,
    "c": 0.17144,
    "h": 306.9
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#8043B1
secondary
#A5C38C
accent
#D5538D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8043B1

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

Preview Lab → · Contrast checker → · Palette generator →

#8043B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva