#8256E4#8256E4

#8256E4 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.5% C 0.205 H 293.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8256E4
RGBrgb(130, 86, 228)
HSLhsl(259, 72%, 62%)
HSVhsv(259, 62%, 89%)
CMYKcmyk(43%, 62.3%, 0%, 10.6%)
CIE-LABlab(48.26, 49.79, -66.04)
CIE-LCHlch(48.26, 82.70, 307.01°)
OKLaboklab(57.53% 0.0805 -0.1886)
OKLCHoklch(57.53% 0.205 293.1)
XYZxyz(26.5335, 17.0021, 75.2675)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256E4 #B8E456
analogous
#5671E4 #8256E4 #C956E4
triadic
#8256E4 #E48256 #56E482
tetradic
#8256E4 #E45671 #B8E456 #56E4C9
square
#8256E4 #E45671 #B8E456 #56E4C9
split-complementary
#8256E4 #E4C956 #71E456
monochromatic
#451AA5 #5C23DA #8256E4 #A98BEC #D0C0F5

Accessibility & contrast

On white

4.77
#8256E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8256E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256E4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256E4#FFFFFF#000000##FFFFFF
##8256E41.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#677795
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8256e4;
/* rgb */ color: rgb(130, 86, 228);
/* oklch */ color: oklch(57.5% 0.205 293.1);
Tailwind
colors: {
  custom: {
    50: '#ad88ed',
    500: '#8256e4',
    950: '#000000',
  },
}
SCSS
$custom: #8256e4;
$custom-light: #ad88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8256e4",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 258.592,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57532,
    "c": 0.20503,
    "h": 293.1
  },
  "luminance": 0.17003
}

Semantic roles & 50–950 ramp

primary
#8256E4
secondary
#D5E5B0
accent
#D51198
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8256E4

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

Preview Lab → · Contrast checker → · Palette generator →

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