#8051BE#8051BE

#8051BE is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.9% C 0.166 H 300.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8051BE
RGBrgb(128, 81, 190)
HSLhsl(266, 46%, 53%)
HSVhsv(266, 57%, 75%)
CMYKcmyk(32.6%, 57.4%, 0%, 25.5%)
CIE-LABlab(44.51, 42.12, -50.32)
CIE-LCHlch(44.51, 65.62, 309.93°)
OKLaboklab(53.94% 0.0851 -0.1424)
OKLCHoklch(53.94% 0.166 300.9)
XYZxyz(21.1366, 14.1917, 50.3309)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8051BE #8FBE51
analogous
#5158BE #8051BE #B751BE
triadic
#8051BE #BE8051 #51BE80
tetradic
#8051BE #BE5158 #8FBE51 #51BEB7
square
#8051BE #BE5158 #8FBE51 #51BEB7
split-complementary
#8051BE #BEB751 #58BE51
monochromatic
#46286C #623999 #8051BE #A17ECF #C1AADF

Accessibility & contrast

On white

5.47
#8051BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8051BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8051BE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8051BE#FFFFFF#000000##FFFFFF
##8051BE1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C2
Deuteranopia (green-blind)
#3369BB
Tritanopia (blue-blind)
#736780
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8051be;
/* rgb */ color: rgb(128, 81, 190);
/* oklch */ color: oklch(53.9% 0.166 300.9);
Tailwind
colors: {
  custom: {
    50: '#a884d2',
    500: '#8051be',
    950: '#000000',
  },
}
SCSS
$custom: #8051be;
$custom-light: #a884d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8051be",
  "rgb": {
    "r": 128,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 265.872,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53942,
    "c": 0.16592,
    "h": 300.9
  },
  "luminance": 0.14192
}

Semantic roles & 50–950 ramp

primary
#8051BE
secondary
#B9CD9E
accent
#D5539D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8051BE

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

Preview Lab → · Contrast checker → · Palette generator →

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