#8157FA#8157FA

#8157FA is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.230 H 289.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8157FA
RGBrgb(129, 87, 250)
HSLhsl(255, 94%, 66%)
HSVhsv(255, 65%, 98%)
CMYKcmyk(48.4%, 65.2%, 0%, 2%)
CIE-LABlab(49.96, 55.03, -75.63)
CIE-LCHlch(49.96, 93.54, 306.04°)
OKLaboklab(59.24% 0.0759 -0.2168)
OKLCHoklch(59.24% 0.23 289.3)
XYZxyz(29.7118, 18.3844, 92.4070)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8157FA #D0FA57
analogous
#577EFA #8157FA #D257FA
triadic
#8157FA #FA8157 #57FA81
tetradic
#8157FA #FA577E #D0FA57 #57FAD2
square
#8157FA #FA577E #D0FA57 #57FAD2
split-complementary
#8157FA #FAD257 #7EFA57
monochromatic
#3A06D0 #541CF8 #8157FA #AE92FC #DACEFE

Accessibility & contrast

On white

4.49
#8157FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8157FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8157FA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8157FA#FFFFFF#000000##000000
##8157FA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0073F7
Tritanopia (blue-blind)
#587FA1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8157fa;
/* rgb */ color: rgb(129, 87, 250);
/* oklch */ color: oklch(59.2% 0.230 289.3);
Tailwind
colors: {
  custom: {
    50: '#af89fd',
    500: '#8157fa',
    950: '#000000',
  },
}
SCSS
$custom: #8157fa;
$custom-light: #af89fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8157fa",
  "rgb": {
    "r": 129,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 255.46,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.22971,
    "h": 289.3
  },
  "luminance": 0.18386
}

Semantic roles & 50–950 ramp

primary
#8157FA
secondary
#E3F1BC
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #8157FA

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

Preview Lab → · Contrast checker → · Palette generator →

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