#8159EA#8159EA

#8159EA is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.3% C 0.208 H 291.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8159EA
RGBrgb(129, 89, 234)
HSLhsl(257, 78%, 63%)
HSVhsv(257, 62%, 92%)
CMYKcmyk(44.9%, 62%, 0%, 8.2%)
CIE-LABlab(49.19, 49.59, -67.92)
CIE-LCHlch(49.19, 84.10, 306.13°)
OKLaboklab(58.32% 0.0756 -0.1941)
OKLCHoklch(58.32% 0.208 291.3)
XYZxyz(27.4728, 17.7515, 79.8048)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159EA #C2EA59
analogous
#5979EA #8159EA #CA59EA
triadic
#8159EA #EA8159 #59EA81
tetradic
#8159EA #EA5979 #C2EA59 #59EACA
square
#8159EA #EA5979 #C2EA59 #59EACA
split-complementary
#8159EA #EACA59 #79EA59
monochromatic
#4117B2 #5823E3 #8159EA #AA8FF1 #D3C6F8

Accessibility & contrast

On white

4.61
#8159EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8159EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8159EA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159EA#FFFFFF#000000##FFFFFF
##8159EA1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0072E7
Tritanopia (blue-blind)
#627B99
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8159ea;
/* rgb */ color: rgb(129, 89, 234);
/* oklch */ color: oklch(58.3% 0.208 291.3);
Tailwind
colors: {
  custom: {
    50: '#ad8af2',
    500: '#8159ea',
    950: '#000000',
  },
}
SCSS
$custom: #8159ea;
$custom-light: #ad8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8159ea",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 256.552,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.20831,
    "h": 291.3
  },
  "luminance": 0.17752
}

Semantic roles & 50–950 ramp

primary
#8159EA
secondary
#DBE9B6
accent
#DA0CA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8159EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8159EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva