#8051BB#8051BB

#8051BB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.7% C 0.162 H 301.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8051BB
RGBrgb(128, 81, 187)
HSLhsl(267, 44%, 53%)
HSVhsv(267, 57%, 73%)
CMYKcmyk(31.6%, 56.7%, 0%, 26.7%)
CIE-LABlab(44.32, 41.36, -48.87)
CIE-LCHlch(44.32, 64.02, 310.24°)
OKLaboklab(53.75% 0.0851 -0.1381)
OKLCHoklch(53.75% 0.162 301.6)
XYZxyz(20.8121, 14.0618, 48.6218)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8051BB #8CBB51
analogous
#5157BB #8051BB #B551BB
triadic
#8051BB #BB8051 #51BB80
tetradic
#8051BB #BB5157 #8CBB51 #51BBB5
square
#8051BB #BB5157 #8CBB51 #51BBB5
split-complementary
#8051BB #BBB551 #57BB51
monochromatic
#452969 #623A95 #8051BB #A07DCC #C0A9DD

Accessibility & contrast

On white

5.51
#8051BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8051BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8051BB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8051BB#FFFFFF#000000##FFFFFF
##8051BB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BF
Deuteranopia (green-blind)
#3668B9
Tritanopia (blue-blind)
#74667E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8051bb;
/* rgb */ color: rgb(128, 81, 187);
/* oklch */ color: oklch(53.7% 0.162 301.6);
Tailwind
colors: {
  custom: {
    50: '#a884d0',
    500: '#8051bb',
    950: '#000000',
  },
}
SCSS
$custom: #8051bb;
$custom-light: #a884d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8051bb",
  "rgb": {
    "r": 128,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 266.604,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53747,
    "c": 0.16226,
    "h": 301.6
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#8051BB
secondary
#B7CB9D
accent
#D4549B
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8051BB

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

Preview Lab → · Contrast checker → · Palette generator →

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