#8043B2#8043B2

#8043B2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.173 H 306.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8043B2
RGBrgb(128, 67, 178)
HSLhsl(273, 45%, 48%)
HSVhsv(273, 62%, 70%)
CMYKcmyk(28.1%, 62.4%, 0%, 30.2%)
CIE-LABlab(40.93, 46.69, -49.03)
CIE-LCHlch(40.93, 67.71, 313.60°)
OKLaboklab(51.09% 0.1028 -0.1386)
OKLCHoklch(51.09% 0.173 306.6)
XYZxyz(18.9434, 11.8180, 43.3940)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8043B2 #75B243
analogous
#4843B2 #8043B2 #B243AC
triadic
#8043B2 #B28043 #43B280
tetradic
#8043B2 #B24843 #75B243 #43ACB2
square
#8043B2 #B24843 #75B243 #43ACB2
split-complementary
#8043B2 #ACB243 #43B248
monochromatic
#402259 #603286 #8043B2 #9E6BC7 #BB97D8

Accessibility & contrast

On white

6.24
#8043B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8043B2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8043B2#FFFFFF#000000##FFFFFF
##8043B21.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025EB5
Deuteranopia (green-blind)
#2D61AF
Tritanopia (blue-blind)
#785974
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8043b2;
/* rgb */ color: rgb(128, 67, 178);
/* oklch */ color: oklch(51.1% 0.173 306.6);
Tailwind
colors: {
  custom: {
    50: '#a87aca',
    500: '#8043b2',
    950: '#000000',
  },
}
SCSS
$custom: #8043b2;
$custom-light: #a87aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8043b2",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 272.973,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51086,
    "c": 0.17257,
    "h": 306.6
  },
  "luminance": 0.11818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8043B2

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

Preview Lab → · Contrast checker → · Palette generator →

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