#8256FF#8256FF

#8256FF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.237 H 289.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8256FF
RGBrgb(130, 86, 255)
HSLhsl(256, 100%, 67%)
HSVhsv(256, 66%, 100%)
CMYKcmyk(49%, 66.3%, 0%, 0%)
CIE-LABlab(50.24, 57.09, -77.95)
CIE-LCHlch(50.24, 96.62, 306.22°)
OKLaboklab(59.58% 0.0775 -0.2236)
OKLCHoklch(59.58% 0.237 289.1)
XYZxyz(30.5785, 18.6201, 96.5712)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256FF #D3FF56
analogous
#567FFF #8256FF #D656FF
triadic
#8256FF #FF8256 #56FF82
tetradic
#8256FF #FF567F #D3FF56 #56FFD6
square
#8256FF #FF567F #D3FF56 #56FFD6
split-complementary
#8256FF #FFD656 #7FFF56
monochromatic
#3900DB #5519FF #8256FF #AF93FF #DDD0FF

Accessibility & contrast

On white

4.45
#8256FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8256FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8256FF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256FF#FFFFFF#000000##000000
##8256FF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0073FC
Tritanopia (blue-blind)
#5780A4
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8256ff;
/* rgb */ color: rgb(130, 86, 255);
/* oklch */ color: oklch(59.6% 0.237 289.1);
Tailwind
colors: {
  custom: {
    50: '#b088ff',
    500: '#8256ff',
    950: '#000000',
  },
}
SCSS
$custom: #8256ff;
$custom-light: #b088ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8256ff",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 255.621,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.5958,
    "c": 0.23663,
    "h": 289.1
  },
  "luminance": 0.18621
}

Semantic roles & 50–950 ramp

primary
#8256FF
secondary
#E5F3BD
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8256FF

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

Preview Lab → · Contrast checker → · Palette generator →

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