#8256EE#8256EE

#8256EE is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.3% C 0.217 H 291.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8256EE
RGBrgb(130, 86, 238)
HSLhsl(257, 82%, 64%)
HSVhsv(257, 64%, 93%)
CMYKcmyk(45.4%, 63.9%, 0%, 6.7%)
CIE-LABlab(48.97, 52.48, -70.52)
CIE-LCHlch(48.97, 87.90, 306.66°)
OKLaboklab(58.27% 0.0796 -0.2017)
OKLCHoklch(58.27% 0.217 291.5)
XYZxyz(27.9620, 17.5735, 82.7911)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256EE #C2EE56
analogous
#5676EE #8256EE #CE56EE
triadic
#8256EE #EE8256 #56EE82
tetradic
#8256EE #EE5676 #C2EE56 #56EECE
square
#8256EE #EE5676 #C2EE56 #56EECE
split-complementary
#8256EE #EECE56 #76EE56
monochromatic
#4212B7 #591EE8 #8256EE #AB8EF4 #D4C5F9

Accessibility & contrast

On white

4.65
#8256EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8256EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8256EE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256EE#FFFFFF#000000##FFFFFF
##8256EE1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#0071EB
Tritanopia (blue-blind)
#617A9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8256ee;
/* rgb */ color: rgb(130, 86, 238);
/* oklch */ color: oklch(58.3% 0.217 291.5);
Tailwind
colors: {
  custom: {
    50: '#ae88f5',
    500: '#8256ee',
    950: '#000000',
  },
}
SCSS
$custom: #8256ee;
$custom-light: #ae88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8256ee",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 257.368,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58272,
    "c": 0.21687,
    "h": 291.5
  },
  "luminance": 0.17574
}

Semantic roles & 50–950 ramp

primary
#8256EE
secondary
#DBEBB5
accent
#DE07A0
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8256EE

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

Preview Lab → · Contrast checker → · Palette generator →

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