#8041BC#8041BC

#8041BC is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.187 H 304.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8041BC
RGBrgb(128, 65, 188)
HSLhsl(271, 49%, 50%)
HSVhsv(271, 65%, 74%)
CMYKcmyk(31.9%, 65.4%, 0%, 26.3%)
CIE-LABlab(41.22, 50.11, -54.44)
CIE-LCHlch(41.22, 73.99, 312.63°)
OKLaboklab(51.51% 0.1045 -0.1545)
OKLCHoklch(51.51% 0.187 304.1)
XYZxyz(19.8674, 12.0007, 48.8369)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8041BC #7DBC41
analogous
#4341BC #8041BC #BC41BB
triadic
#8041BC #BC8041 #41BC80
tetradic
#8041BC #BC4341 #7DBC41 #41BBBC
square
#8041BC #BC4341 #7DBC41 #41BBBC
split-complementary
#8041BC #BBBC41 #41BC43
monochromatic
#422261 #61318F #8041BC #9E6ECD #BC9BDC

Accessibility & contrast

On white

6.18
#8041BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8041BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8041BC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8041BC#FFFFFF#000000##FFFFFF
##8041BC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#1A61B9
Tritanopia (blue-blind)
#755C79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8041bc;
/* rgb */ color: rgb(128, 65, 188);
/* oklch */ color: oklch(51.5% 0.187 304.1);
Tailwind
colors: {
  custom: {
    50: '#a97ad1',
    500: '#8041bc',
    950: '#000000',
  },
}
SCSS
$custom: #8041bc;
$custom-light: #a97ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8041bc",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 270.732,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.18652,
    "h": 304.1
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#8041BC
secondary
#ACC990
accent
#D85092
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8041BC

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

Preview Lab → · Contrast checker → · Palette generator →

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