#8256BC#8256BC

#8256BC is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.8% C 0.156 H 301.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8256BC
RGBrgb(130, 86, 188)
HSLhsl(266, 43%, 54%)
HSVhsv(266, 54%, 74%)
CMYKcmyk(30.9%, 54.3%, 0%, 26.3%)
CIE-LABlab(45.68, 39.31, -47.27)
CIE-LCHlch(45.68, 61.48, 309.75°)
OKLaboklab(54.82% 0.0812 -0.1334)
OKLCHoklch(54.82% 0.156 301.3)
XYZxyz(21.6087, 15.0322, 49.3303)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256BC #90BC56
analogous
#565DBC #8256BC #B556BC
triadic
#8256BC #BC8256 #56BC82
tetradic
#8256BC #BC565D #90BC56 #56BCB5
square
#8256BC #BC565D #90BC56 #56BCB5
split-complementary
#8256BC #BCB556 #5DBC56
monochromatic
#472B6D #643C98 #8256BC #A282CD #C3AEDF

Accessibility & contrast

On white

5.24
#8256BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8256BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256BC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256BC#FFFFFF#000000##FFFFFF
##8256BC1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CBF
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#776A81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8256bc;
/* rgb */ color: rgb(130, 86, 188);
/* oklch */ color: oklch(54.8% 0.156 301.3);
Tailwind
colors: {
  custom: {
    50: '#a987d1',
    500: '#8256bc',
    950: '#000000',
  },
}
SCSS
$custom: #8256bc;
$custom-light: #a987d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8256bc",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 265.882,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54816,
    "c": 0.15619,
    "h": 301.3
  },
  "luminance": 0.15032
}

Semantic roles & 50–950 ramp

primary
#8256BC
secondary
#BACDA1
accent
#D3559D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8256BC

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

Preview Lab → · Contrast checker → · Palette generator →

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