#8156E1#8156E1

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

Color values

HEX#8156E1
RGBrgb(129, 86, 225)
HSLhsl(259, 70%, 61%)
HSVhsv(259, 62%, 88%)
CMYKcmyk(42.7%, 61.8%, 0%, 11.8%)
CIE-LABlab(47.95, 48.78, -64.85)
CIE-LCHlch(47.95, 81.15, 306.95°)
OKLaboklab(57.22% 0.0794 -0.1851)
OKLCHoklch(57.22% 0.201 293.2)
XYZxyz(25.9680, 16.7582, 73.0860)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156E1 #B6E156
analogous
#5670E1 #8156E1 #C656E1
triadic
#8156E1 #E18156 #56E181
tetradic
#8156E1 #E15670 #B6E156 #56E1C6
square
#8156E1 #E15670 #B6E156 #56E1C6
split-complementary
#8156E1 #E1C656 #70E156
monochromatic
#451CA0 #5C26D4 #8156E1 #A88AEA #CEBEF3

Accessibility & contrast

On white

4.83
#8156E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8156E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8156E1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156E1#FFFFFF#000000##FFFFFF
##8156E11.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#667694
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8156e1;
/* rgb */ color: rgb(129, 86, 225);
/* oklch */ color: oklch(57.2% 0.201 293.2);
Tailwind
colors: {
  custom: {
    50: '#ac88eb',
    500: '#8156e1',
    950: '#000000',
  },
}
SCSS
$custom: #8156e1;
$custom-light: #ac88eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8156e1",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 258.561,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57219,
    "c": 0.2014,
    "h": 293.2
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8156E1

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

Preview Lab → · Contrast checker → · Palette generator →

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