#8256B2#8256B2

#8256B2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.2% C 0.144 H 304.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8256B2
RGBrgb(130, 86, 178)
HSLhsl(269, 37%, 52%)
HSVhsv(269, 52%, 70%)
CMYKcmyk(27%, 51.7%, 0%, 30.2%)
CIE-LABlab(45.10, 36.81, -42.34)
CIE-LCHlch(45.10, 56.10, 311.00°)
OKLaboklab(54.2% 0.0806 -0.119)
OKLCHoklch(54.2% 0.144 304.1)
XYZxyz(20.5678, 14.6158, 43.8484)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256B2 #86B256
analogous
#5658B2 #8256B2 #B056B2
triadic
#8256B2 #B28256 #56B282
tetradic
#8256B2 #B25658 #86B256 #56B2B0
square
#8256B2 #B25658 #86B256 #56B2B0
split-complementary
#8256B2 #B2B056 #58B256
monochromatic
#462C61 #643F8B #8256B2 #A180C5 #C0AAD8

Accessibility & contrast

On white

5.35
#8256B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8256B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256B2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256B2#FFFFFF#000000##FFFFFF
##8256B21.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#466BB0
Tritanopia (blue-blind)
#7A677C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8256b2;
/* rgb */ color: rgb(130, 86, 178);
/* oklch */ color: oklch(54.2% 0.144 304.1);
Tailwind
colors: {
  custom: {
    50: '#a987c9',
    500: '#8256b2',
    950: '#000000',
  },
}
SCSS
$custom: #8256b2;
$custom-light: #a987c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8256b2",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 268.696,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54204,
    "c": 0.14371,
    "h": 304.1
  },
  "luminance": 0.14616
}

Semantic roles & 50–950 ramp

primary
#8256B2
secondary
#B3C69E
accent
#CD5A96
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8256B2

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

Preview Lab → · Contrast checker → · Palette generator →

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