#8256E1#8256E1

#8256E1 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.3% C 0.201 H 293.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8256E1
RGBrgb(130, 86, 225)
HSLhsl(259, 70%, 61%)
HSVhsv(259, 62%, 88%)
CMYKcmyk(42.2%, 61.8%, 0%, 11.8%)
CIE-LABlab(48.05, 48.98, -64.68)
CIE-LCHlch(48.05, 81.14, 307.14°)
OKLaboklab(57.32% 0.0807 -0.1846)
OKLCHoklch(57.32% 0.201 293.6)
XYZxyz(26.1206, 16.8369, 73.0932)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256E1 #B5E156
analogous
#566FE1 #8256E1 #C756E1
triadic
#8256E1 #E18256 #56E182
tetradic
#8256E1 #E1566F #B5E156 #56E1C7
square
#8256E1 #E1566F #B5E156 #56E1C7
split-complementary
#8256E1 #E1C756 #6FE156
monochromatic
#461CA0 #5D26D4 #8256E1 #A88AEA #CFBEF3

Accessibility & contrast

On white

4.81
#8256E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8256E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256E1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256E1#FFFFFF#000000##FFFFFF
##8256E11.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#687694
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8256e1;
/* rgb */ color: rgb(130, 86, 225);
/* oklch */ color: oklch(57.3% 0.201 293.6);
Tailwind
colors: {
  custom: {
    50: '#ad88eb',
    500: '#8256e1',
    950: '#000000',
  },
}
SCSS
$custom: #8256e1;
$custom-light: #ad88eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8256e1",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 258.993,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57315,
    "c": 0.20144,
    "h": 293.6
  },
  "luminance": 0.16838
}

Semantic roles & 50–950 ramp

primary
#8256E1
secondary
#D3E4AF
accent
#D21496
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8256E1

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

Preview Lab → · Contrast checker → · Palette generator →

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