#8151C0#8151C0

#8151C0 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.2% C 0.169 H 300.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8151C0
RGBrgb(129, 81, 192)
HSLhsl(266, 47%, 54%)
HSVhsv(266, 58%, 75%)
CMYKcmyk(32.8%, 57.8%, 0%, 24.7%)
CIE-LABlab(44.74, 42.87, -51.10)
CIE-LCHlch(44.74, 66.70, 310.00°)
OKLaboklab(54.18% 0.0865 -0.1447)
OKLCHoklch(54.18% 0.169 300.9)
XYZxyz(21.5079, 14.3576, 51.4971)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151C0 #90C051
analogous
#5158C0 #8151C0 #B851C0
triadic
#8151C0 #C08151 #51C081
tetradic
#8151C0 #C05158 #90C051 #51C0B8
square
#8151C0 #C05158 #90C051 #51C0B8
split-complementary
#8151C0 #C0B851 #58C051
monochromatic
#47286F #63389B #8151C0 #A27ED0 #C2ABE1

Accessibility & contrast

On white

5.42
#8151C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8151C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8151C0
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151C0#FFFFFF#000000##FFFFFF
##8151C01.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C4
Deuteranopia (green-blind)
#3169BD
Tritanopia (blue-blind)
#746881
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8151c0;
/* rgb */ color: rgb(129, 81, 192);
/* oklch */ color: oklch(54.2% 0.169 300.9);
Tailwind
colors: {
  custom: {
    50: '#a984d4',
    500: '#8151c0',
    950: '#000000',
  },
}
SCSS
$custom: #8151c0;
$custom-light: #a984d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8151c0",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 192
  },
  "hsl": {
    "h": 265.946,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.16853,
    "h": 300.9
  },
  "luminance": 0.14358
}

Semantic roles & 50–950 ramp

primary
#8151C0
secondary
#BACE9F
accent
#D6519D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8151C0

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

Preview Lab → · Contrast checker → · Palette generator →

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