#8159FA#8159FA

#8159FA is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.5% C 0.227 H 289.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8159FA
RGBrgb(129, 89, 250)
HSLhsl(255, 94%, 66%)
HSVhsv(255, 64%, 98%)
CMYKcmyk(48.4%, 64.4%, 0%, 2%)
CIE-LABlab(50.35, 53.97, -75.00)
CIE-LCHlch(50.35, 92.40, 305.74°)
OKLaboklab(59.52% 0.074 -0.2149)
OKLCHoklch(59.52% 0.227 289)
XYZxyz(29.8760, 18.7127, 92.4617)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159FA #D2FA59
analogous
#5982FA #8159FA #D259FA
triadic
#8159FA #FA8159 #59FA81
tetradic
#8159FA #FA5982 #D2FA59 #59FAD2
square
#8159FA #FA5982 #D2FA59 #59FAD2
split-complementary
#8159FA #FAD259 #82FA59
monochromatic
#3906D2 #541EF8 #8159FA #AE94FC #DBD0FE

Accessibility & contrast

On white

4.43
#8159FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8159FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8159FA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159FA#FFFFFF#000000##000000
##8159FA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0074F7
Tritanopia (blue-blind)
#5880A2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8159fa;
/* rgb */ color: rgb(129, 89, 250);
/* oklch */ color: oklch(59.5% 0.227 289.0);
Tailwind
colors: {
  custom: {
    50: '#af8afd',
    500: '#8159fa',
    950: '#000000',
  },
}
SCSS
$custom: #8159fa;
$custom-light: #af8afd;
$custom-dark: #000000;
JSON
{
  "hex": "#8159fa",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 250
  },
  "hsl": {
    "h": 254.907,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59519,
    "c": 0.22733,
    "h": 289
  },
  "luminance": 0.18714
}

Semantic roles & 50–950 ramp

primary
#8159FA
secondary
#E5F1BD
accent
#E600AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #8159FA

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

Preview Lab → · Contrast checker → · Palette generator →

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