#8256E8#8256E8

#8256E8 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.210 H 292.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8256E8
RGBrgb(130, 86, 232)
HSLhsl(258, 76%, 62%)
HSVhsv(258, 63%, 91%)
CMYKcmyk(44%, 62.9%, 0%, 9%)
CIE-LABlab(48.54, 50.86, -67.84)
CIE-LCHlch(48.54, 84.79, 306.86°)
OKLaboklab(57.83% 0.0802 -0.1939)
OKLCHoklch(57.83% 0.21 292.5)
XYZxyz(27.0952, 17.2268, 78.2258)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256E8 #BCE856
analogous
#5673E8 #8256E8 #CB56E8
triadic
#8256E8 #E88256 #56E882
tetradic
#8256E8 #E85673 #BCE856 #56E8CB
square
#8256E8 #E85673 #BCE856 #56E8CB
split-complementary
#8256E8 #E8CB56 #73E856
monochromatic
#4417AC #5A20E1 #8256E8 #AA8CEF #D2C2F7

Accessibility & contrast

On white

4.72
#8256E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8256E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256E8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256E8#FFFFFF#000000##FFFFFF
##8256E81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#657897
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8256e8;
/* rgb */ color: rgb(130, 86, 232);
/* oklch */ color: oklch(57.8% 0.210 292.5);
Tailwind
colors: {
  custom: {
    50: '#ad88f0',
    500: '#8256e8',
    950: '#000000',
  },
}
SCSS
$custom: #8256e8;
$custom-light: #ad88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8256e8",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 258.082,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57826,
    "c": 0.20979,
    "h": 292.5
  },
  "luminance": 0.17228
}

Semantic roles & 50–950 ramp

primary
#8256E8
secondary
#D7E8B2
accent
#D80D9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8256E8

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

Preview Lab → · Contrast checker → · Palette generator →

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