#8151B3#8151B3

#8151B3 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.153 H 304.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8151B3
RGBrgb(129, 81, 179)
HSLhsl(269, 39%, 51%)
HSVhsv(269, 55%, 70%)
CMYKcmyk(27.9%, 54.7%, 0%, 29.8%)
CIE-LABlab(43.95, 39.62, -44.77)
CIE-LCHlch(43.95, 59.78, 311.51°)
OKLaboklab(53.35% 0.0861 -0.1261)
OKLCHoklch(53.35% 0.153 304.3)
XYZxyz(20.1306, 13.8067, 44.2435)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151B3 #83B351
analogous
#5152B3 #8151B3 #B251B3
triadic
#8151B3 #B38151 #51B381
tetradic
#8151B3 #B35152 #83B351 #51B3B2
square
#8151B3 #B35152 #83B351 #51B3B2
split-complementary
#8151B3 #B3B251 #52B351
monochromatic
#442A60 #633C8A #8151B3 #A07CC6 #BFA6D8

Accessibility & contrast

On white

5.58
#8151B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8151B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8151B3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151B3#FFFFFF#000000##FFFFFF
##8151B31.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E67B6
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#78637A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8151b3;
/* rgb */ color: rgb(129, 81, 179);
/* oklch */ color: oklch(53.3% 0.153 304.3);
Tailwind
colors: {
  custom: {
    50: '#a883ca',
    500: '#8151b3',
    950: '#000000',
  },
}
SCSS
$custom: #8151b3;
$custom-light: #a883ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8151b3",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 269.388,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53348,
    "c": 0.15271,
    "h": 304.3
  },
  "luminance": 0.13807
}

Semantic roles & 50–950 ramp

primary
#8151B3
secondary
#B0C69A
accent
#CF5995
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8151B3

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

Preview Lab → · Contrast checker → · Palette generator →

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