#8056BF#8056BF

#8056BF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.8% C 0.160 H 299.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8056BF
RGBrgb(128, 86, 191)
HSLhsl(264, 45%, 54%)
HSVhsv(264, 55%, 75%)
CMYKcmyk(33%, 55%, 0%, 25.1%)
CIE-LABlab(45.64, 39.57, -49.08)
CIE-LCHlch(45.64, 63.04, 308.88°)
OKLaboklab(54.8% 0.0788 -0.1388)
OKLCHoklch(54.8% 0.16 299.6)
XYZxyz(21.6316, 15.0062, 51.0370)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056BF #95BF56
analogous
#5661BF #8056BF #B556BF
triadic
#8056BF #BF8056 #56BF80
tetradic
#8056BF #BF5661 #95BF56 #56BFB5
square
#8056BF #BF5661 #95BF56 #56BFB5
split-complementary
#8056BF #BFB556 #61BF56
monochromatic
#462A70 #623B9D #8056BF #A182D0 #C3AFE1

Accessibility & contrast

On white

5.25
#8056BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8056BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056BF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056BF#FFFFFF#000000##FFFFFF
##8056BF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#396BBD
Tritanopia (blue-blind)
#736B82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8056bf;
/* rgb */ color: rgb(128, 86, 191);
/* oklch */ color: oklch(54.8% 0.160 299.6);
Tailwind
colors: {
  custom: {
    50: '#a887d3',
    500: '#8056bf',
    950: '#000000',
  },
}
SCSS
$custom: #8056bf;
$custom-light: #a887d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8056bf",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 264,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.15958,
    "h": 299.6
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#8056BF
secondary
#BDCFA2
accent
#D553A1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8056BF

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

Preview Lab → · Contrast checker → · Palette generator →

#8056BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva