#8256BF#8256BF

#8256BF is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.0% C 0.160 H 300.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8256BF
RGBrgb(130, 86, 191)
HSLhsl(265, 45%, 54%)
HSVhsv(265, 55%, 75%)
CMYKcmyk(31.9%, 55%, 0%, 25.1%)
CIE-LABlab(45.86, 40.07, -48.72)
CIE-LCHlch(45.86, 63.09, 309.43°)
OKLaboklab(55.01% 0.0814 -0.1377)
OKLCHoklch(55.01% 0.16 300.6)
XYZxyz(21.9355, 15.1629, 51.0512)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256BF #93BF56
analogous
#565FBF #8256BF #B756BF
triadic
#8256BF #BF8256 #56BF82
tetradic
#8256BF #BF565F #93BF56 #56BFB7
square
#8256BF #BF565F #93BF56 #56BFB7
split-complementary
#8256BF #BFB756 #5FBF56
monochromatic
#482A70 #643B9D #8256BF #A382D0 #C4AFE1

Accessibility & contrast

On white

5.21
#8256BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8256BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256BF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256BF#FFFFFF#000000##FFFFFF
##8256BF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC3
Deuteranopia (green-blind)
#3B6CBD
Tritanopia (blue-blind)
#766B82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8256bf;
/* rgb */ color: rgb(130, 86, 191);
/* oklch */ color: oklch(55.0% 0.160 300.6);
Tailwind
colors: {
  custom: {
    50: '#aa87d3',
    500: '#8256bf',
    950: '#000000',
  },
}
SCSS
$custom: #8256bf;
$custom-light: #aa87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8256bf",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 265.143,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55005,
    "c": 0.15993,
    "h": 300.6
  },
  "luminance": 0.15163
}

Semantic roles & 50–950 ramp

primary
#8256BF
secondary
#BCCFA2
accent
#D5539E
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8256BF

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

Preview Lab → · Contrast checker → · Palette generator →

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