#8159F3#8159F3

#8159F3 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.219 H 290.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8159F3
RGBrgb(129, 89, 243)
HSLhsl(256, 87%, 65%)
HSVhsv(256, 63%, 95%)
CMYKcmyk(46.9%, 63.4%, 0%, 4.7%)
CIE-LABlab(49.84, 52.05, -71.93)
CIE-LCHlch(49.84, 88.78, 305.89°)
OKLaboklab(58.99% 0.0748 -0.2059)
OKLCHoklch(58.99% 0.219 290)
XYZxyz(28.7987, 18.2818, 86.7880)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159F3 #CBF359
analogous
#597EF3 #8159F3 #CE59F3
triadic
#8159F3 #F38159 #59F381
tetradic
#8159F3 #F3597E #CBF359 #59F3CE
square
#8159F3 #F3597E #CBF359 #59F3CE
split-complementary
#8159F3 #F3CE59 #7EF359
monochromatic
#3D0EC3 #5620EF #8159F3 #AC92F7 #D8CBFB

Accessibility & contrast

On white

4.51
#8159F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8159F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8159F3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159F3#FFFFFF#000000##000000
##8159F31.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#5C7E9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8159f3;
/* rgb */ color: rgb(129, 89, 243);
/* oklch */ color: oklch(59.0% 0.219 290.0);
Tailwind
colors: {
  custom: {
    50: '#ae8af8',
    500: '#8159f3',
    950: '#000000',
  },
}
SCSS
$custom: #8159f3;
$custom-light: #ae8af8;
$custom-dark: #000000;
JSON
{
  "hex": "#8159f3",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 243
  },
  "hsl": {
    "h": 255.584,
    "s": 86.517,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58987,
    "c": 0.21906,
    "h": 290
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#8159F3
secondary
#E0EEBA
accent
#E302A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8159F3

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

Preview Lab → · Contrast checker → · Palette generator →

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