#8150B2#8150B2

#8150B2 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.153 H 304.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8150B2
RGBrgb(129, 80, 178)
HSLhsl(270, 39%, 51%)
HSVhsv(270, 55%, 70%)
CMYKcmyk(27.5%, 55.1%, 0%, 30.2%)
CIE-LABlab(43.68, 39.93, -44.61)
CIE-LCHlch(43.68, 59.87, 311.83°)
OKLaboklab(53.13% 0.0874 -0.1257)
OKLCHoklch(53.13% 0.153 304.8)
XYZxyz(19.9561, 13.6189, 43.6882)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8150B2 #81B250
analogous
#5050B2 #8150B2 #B250B2
triadic
#8150B2 #B28150 #50B281
tetradic
#8150B2 #B25050 #81B250 #50B2B2
square
#8150B2 #B25050 #81B250 #50B2B2
split-complementary
#8150B2 #B2B250 #50B250
monochromatic
#44295E #623C89 #8150B2 #A07AC5 #BEA5D7

Accessibility & contrast

On white

5.64
#8150B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8150B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8150B2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8150B2#FFFFFF#000000##FFFFFF
##8150B21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#3E67B0
Tritanopia (blue-blind)
#796279
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8150b2;
/* rgb */ color: rgb(129, 80, 178);
/* oklch */ color: oklch(53.1% 0.153 304.8);
Tailwind
colors: {
  custom: {
    50: '#a883c9',
    500: '#8150b2',
    950: '#000000',
  },
}
SCSS
$custom: #8150b2;
$custom-light: #a883c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8150b2",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 270,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53128,
    "c": 0.15307,
    "h": 304.8
  },
  "luminance": 0.13619
}

Semantic roles & 50–950 ramp

primary
#8150B2
secondary
#AFC599
accent
#CF5994
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8150B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8150B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva