#8151FF#8151FF

#8151FF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.242 H 289.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8151FF
RGBrgb(129, 81, 255)
HSLhsl(257, 100%, 66%)
HSVhsv(257, 68%, 100%)
CMYKcmyk(49.4%, 68.2%, 0%, 0%)
CIE-LABlab(49.22, 59.48, -79.63)
CIE-LCHlch(49.22, 99.39, 306.76°)
OKLaboklab(58.82% 0.0807 -0.2285)
OKLCHoklch(58.82% 0.242 289.4)
XYZxyz(30.0405, 17.7707, 96.4356)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151FF #CFFF51
analogous
#5178FF #8151FF #D851FF
triadic
#8151FF #FF8151 #51FF81
tetradic
#8151FF #FF5178 #CFFF51 #51FFD8
square
#8151FF #FF5178 #CFFF51 #51FFD8
split-complementary
#8151FF #FFD851 #78FF51
monochromatic
#3B00D6 #5514FF #8151FF #AD8EFF #DACBFF

Accessibility & contrast

On white

4.61
#8151FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8151FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8151FF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151FF#FFFFFF#000000##FFFFFF
##8151FF1.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)
#0078FF
Deuteranopia (green-blind)
#0071FC
Tritanopia (blue-blind)
#557EA2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8151ff;
/* rgb */ color: rgb(129, 81, 255);
/* oklch */ color: oklch(58.8% 0.242 289.4);
Tailwind
colors: {
  custom: {
    50: '#b085ff',
    500: '#8151ff',
    950: '#000000',
  },
}
SCSS
$custom: #8151ff;
$custom-light: #b085ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8151ff",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 256.552,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58824,
    "c": 0.24233,
    "h": 289.4
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#8151FF
secondary
#E3F3B9
accent
#E600A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8151FF

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

Preview Lab → · Contrast checker → · Palette generator →

#8151FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva