#8156ED#8156ED

#8156ED is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.216 H 291.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8156ED
RGBrgb(129, 86, 237)
HSLhsl(257, 81%, 63%)
HSVhsv(257, 64%, 93%)
CMYKcmyk(45.6%, 63.7%, 0%, 7.1%)
CIE-LABlab(48.80, 52.02, -70.24)
CIE-LCHlch(48.80, 87.40, 306.52°)
OKLaboklab(58.1% 0.0784 -0.2009)
OKLCHoklch(58.1% 0.216 291.3)
XYZxyz(27.6628, 17.4362, 82.0123)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156ED #C2ED56
analogous
#5676ED #8156ED #CC56ED
triadic
#8156ED #ED8156 #56ED81
tetradic
#8156ED #ED5676 #C2ED56 #56EDCC
square
#8156ED #ED5676 #C2ED56 #56EDCC
split-complementary
#8156ED #EDCC56 #76ED56
monochromatic
#4113B5 #581FE7 #8156ED #AA8DF3 #D3C5F9

Accessibility & contrast

On white

4.68
#8156ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8156ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8156ED
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156ED#FFFFFF#000000##FFFFFF
##8156ED1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#607A9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8156ed;
/* rgb */ color: rgb(129, 86, 237);
/* oklch */ color: oklch(58.1% 0.216 291.3);
Tailwind
colors: {
  custom: {
    50: '#ad88f4',
    500: '#8156ed',
    950: '#000000',
  },
}
SCSS
$custom: #8156ed;
$custom-light: #ad88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8156ed",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 257.086,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58104,
    "c": 0.21568,
    "h": 291.3
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#8156ED
secondary
#DBEAB4
accent
#DD08A1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8156ED

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

Preview Lab → · Contrast checker → · Palette generator →

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