#8256E5#8256E5

#8256E5 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.6% C 0.206 H 293.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8256E5
RGBrgb(130, 86, 229)
HSLhsl(258, 73%, 62%)
HSVhsv(258, 62%, 90%)
CMYKcmyk(43.2%, 62.4%, 0%, 10.2%)
CIE-LABlab(48.33, 50.05, -66.49)
CIE-LCHlch(48.33, 83.23, 306.97°)
OKLaboklab(57.61% 0.0804 -0.1899)
OKLCHoklch(57.61% 0.206 293)
XYZxyz(26.6727, 17.0578, 76.0007)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256E5 #B9E556
analogous
#5672E5 #8256E5 #CA56E5
triadic
#8256E5 #E58256 #56E582
tetradic
#8256E5 #E55672 #B9E556 #56E5CA
square
#8256E5 #E55672 #B9E556 #56E5CA
split-complementary
#8256E5 #E5CA56 #72E556
monochromatic
#451AA7 #5B22DC #8256E5 #A98BED #D0C0F5

Accessibility & contrast

On white

4.76
#8256E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8256E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256E5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256E5#FFFFFF#000000##FFFFFF
##8256E51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#667796
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8256e5;
/* rgb */ color: rgb(130, 86, 229);
/* oklch */ color: oklch(57.6% 0.206 293.0);
Tailwind
colors: {
  custom: {
    50: '#ad88ee',
    500: '#8256e5',
    950: '#000000',
  },
}
SCSS
$custom: #8256e5;
$custom-light: #ad88ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8256e5",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 258.462,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.20622,
    "h": 293
  },
  "luminance": 0.17059
}

Semantic roles & 50–950 ramp

primary
#8256E5
secondary
#D6E6B1
accent
#D51099
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8256E5

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

Preview Lab → · Contrast checker → · Palette generator →

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