#8256BB#8256BB

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

Color values

HEX#8256BB
RGBrgb(130, 86, 187)
HSLhsl(266, 43%, 54%)
HSVhsv(266, 54%, 73%)
CMYKcmyk(30.5%, 54%, 0%, 26.7%)
CIE-LABlab(45.62, 39.06, -46.78)
CIE-LCHlch(45.62, 60.94, 309.86°)
OKLaboklab(54.75% 0.0812 -0.132)
OKLCHoklch(54.75% 0.155 301.6)
XYZxyz(21.5013, 14.9892, 48.7645)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256BB #8FBB56
analogous
#565CBB #8256BB #B456BB
triadic
#8256BB #BB8256 #56BB82
tetradic
#8256BB #BB565C #8FBB56 #56BBB4
square
#8256BB #BB565C #8FBB56 #56BBB4
split-complementary
#8256BB #BBB456 #5CBB56
monochromatic
#472B6B #643D97 #8256BB #A282CD #C3ADDE

Accessibility & contrast

On white

5.25
#8256BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8256BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256BB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256BB#FFFFFF#000000##FFFFFF
##8256BB1.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)
#316BBE
Deuteranopia (green-blind)
#3E6CB9
Tritanopia (blue-blind)
#776980
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8256bb;
/* rgb */ color: rgb(130, 86, 187);
/* oklch */ color: oklch(54.8% 0.155 301.6);
Tailwind
colors: {
  custom: {
    50: '#a987d0',
    500: '#8256bb',
    950: '#000000',
  },
}
SCSS
$custom: #8256bb;
$custom-light: #a987d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8256bb",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 266.139,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54753,
    "c": 0.15494,
    "h": 301.6
  },
  "luminance": 0.14989
}

Semantic roles & 50–950 ramp

primary
#8256BB
secondary
#B9CCA1
accent
#D2559C
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8256BB

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

Preview Lab → · Contrast checker → · Palette generator →

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