#8051BC#8051BC

#8051BC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.163 H 301.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8051BC
RGBrgb(128, 81, 188)
HSLhsl(266, 44%, 53%)
HSVhsv(266, 57%, 74%)
CMYKcmyk(31.9%, 56.9%, 0%, 26.3%)
CIE-LABlab(44.38, 41.61, -49.35)
CIE-LCHlch(44.38, 64.55, 310.14°)
OKLaboklab(53.81% 0.0851 -0.1396)
OKLCHoklch(53.81% 0.163 301.4)
XYZxyz(20.9195, 14.1048, 49.1876)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8051BC #8DBC51
analogous
#5158BC #8051BC #B551BC
triadic
#8051BC #BC8051 #51BC80
tetradic
#8051BC #BC5158 #8DBC51 #51BCB5
square
#8051BC #BC5158 #8DBC51 #51BCB5
split-complementary
#8051BC #BCB551 #58BC51
monochromatic
#45296A #623A96 #8051BC #A07DCD #C1A9DE

Accessibility & contrast

On white

5.50
#8051BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8051BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8051BC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8051BC#FFFFFF#000000##FFFFFF
##8051BC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368C0
Deuteranopia (green-blind)
#3568BA
Tritanopia (blue-blind)
#74667F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8051bc;
/* rgb */ color: rgb(128, 81, 188);
/* oklch */ color: oklch(53.8% 0.163 301.4);
Tailwind
colors: {
  custom: {
    50: '#a884d1',
    500: '#8051bc',
    950: '#000000',
  },
}
SCSS
$custom: #8051bc;
$custom-light: #a884d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8051bc",
  "rgb": {
    "r": 128,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 266.355,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53812,
    "c": 0.16348,
    "h": 301.4
  },
  "luminance": 0.14105
}

Semantic roles & 50–950 ramp

primary
#8051BC
secondary
#B7CC9D
accent
#D4549C
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8051BC

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

Preview Lab → · Contrast checker → · Palette generator →

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