#8256EA#8256EA

#8256EA is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.212 H 292.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8256EA
RGBrgb(130, 86, 234)
HSLhsl(258, 78%, 63%)
HSVhsv(258, 63%, 92%)
CMYKcmyk(44.4%, 63.2%, 0%, 8.2%)
CIE-LABlab(48.69, 51.40, -68.74)
CIE-LCHlch(48.69, 85.83, 306.79°)
OKLaboklab(57.97% 0.08 -0.1965)
OKLCHoklch(57.97% 0.212 292.2)
XYZxyz(27.3809, 17.3410, 79.7304)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256EA #BEEA56
analogous
#5674EA #8256EA #CC56EA
triadic
#8256EA #EA8256 #56EA82
tetradic
#8256EA #EA5674 #BEEA56 #56EACC
square
#8256EA #EA5674 #BEEA56 #56EACC
split-complementary
#8256EA #EACC56 #74EA56
monochromatic
#4416B0 #5A20E3 #8256EA #AA8CF1 #D3C3F8

Accessibility & contrast

On white

4.70
#8256EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8256EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256EA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256EA#FFFFFF#000000##FFFFFF
##8256EA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#637998
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8256ea;
/* rgb */ color: rgb(130, 86, 234);
/* oklch */ color: oklch(58.0% 0.212 292.2);
Tailwind
colors: {
  custom: {
    50: '#ae88f2',
    500: '#8256ea',
    950: '#000000',
  },
}
SCSS
$custom: #8256ea;
$custom-light: #ae88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8256ea",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 257.838,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57974,
    "c": 0.21215,
    "h": 292.2
  },
  "luminance": 0.17342
}

Semantic roles & 50–950 ramp

primary
#8256EA
secondary
#D9E9B3
accent
#DA0B9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8256EA

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

Preview Lab → · Contrast checker → · Palette generator →

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