#8256E7#8256E7

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

Color values

HEX#8256E7
RGBrgb(130, 86, 231)
HSLhsl(258, 75%, 62%)
HSVhsv(258, 63%, 91%)
CMYKcmyk(43.7%, 62.8%, 0%, 9.4%)
CIE-LABlab(48.47, 50.59, -67.39)
CIE-LCHlch(48.47, 84.27, 306.90°)
OKLaboklab(57.75% 0.0803 -0.1925)
OKLCHoklch(57.75% 0.209 292.6)
XYZxyz(26.9536, 17.1701, 77.4798)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256E7 #BBE756
analogous
#5672E7 #8256E7 #CB56E7
triadic
#8256E7 #E78256 #56E782
tetradic
#8256E7 #E75672 #BBE756 #56E7CB
square
#8256E7 #E75672 #BBE756 #56E7CB
split-complementary
#8256E7 #E7CB56 #72E756
monochromatic
#4518AA #5A20DF #8256E7 #AA8CEF #D1C1F6

Accessibility & contrast

On white

4.74
#8256E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8256E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256E7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256E7#FFFFFF#000000##FFFFFF
##8256E71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8256e7;
/* rgb */ color: rgb(130, 86, 231);
/* oklch */ color: oklch(57.8% 0.209 292.6);
Tailwind
colors: {
  custom: {
    50: '#ad88f0',
    500: '#8256e7',
    950: '#000000',
  },
}
SCSS
$custom: #8256e7;
$custom-light: #ad88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8256e7",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 258.207,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57752,
    "c": 0.2086,
    "h": 292.6
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#8256E7
secondary
#D7E7B2
accent
#D70E9A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8256E7

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

Preview Lab → · Contrast checker → · Palette generator →

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