#8256AC#8256AC

#8256AC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 53.9% C 0.136 H 306.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8256AC
RGBrgb(130, 86, 172)
HSLhsl(271, 34%, 51%)
HSVhsv(271, 50%, 67%)
CMYKcmyk(24.4%, 50%, 0%, 32.5%)
CIE-LABlab(44.77, 35.34, -39.34)
CIE-LCHlch(44.77, 52.88, 311.93°)
OKLaboklab(53.85% 0.08 -0.1102)
OKLCHoklch(53.85% 0.136 306)
XYZxyz(19.9786, 14.3801, 40.7449)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256AC #80AC56
analogous
#5756AC #8256AC #AC56AB
triadic
#8256AC #AC8256 #56AC82
tetradic
#8256AC #AC5756 #80AC56 #56ABAC
square
#8256AC #AC5756 #80AC56 #56ABAC
split-complementary
#8256AC #ABAC56 #56AC57
monochromatic
#442D5B #634184 #8256AC #A07FC0 #BFA8D4

Accessibility & contrast

On white

5.42
#8256AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8256AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256AC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256AC#FFFFFF#000000##FFFFFF
##8256AC1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AF
Deuteranopia (green-blind)
#4A6AAA
Tritanopia (blue-blind)
#7B6579
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8256ac;
/* rgb */ color: rgb(130, 86, 172);
/* oklch */ color: oklch(53.9% 0.136 306.0);
Tailwind
colors: {
  custom: {
    50: '#a887c5',
    500: '#8256ac',
    950: '#000000',
  },
}
SCSS
$custom: #8256ac;
$custom-light: #a887c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8256ac",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 270.698,
    "s": 34.127,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53852,
    "c": 0.1362,
    "h": 306
  },
  "luminance": 0.1438
}

Semantic roles & 50–950 ramp

primary
#8256AC
secondary
#AEC29C
accent
#CA5E93
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8256AC

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

Preview Lab → · Contrast checker → · Palette generator →

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