#8150BC#8150BC

#8150BC is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.165 H 302.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8150BC
RGBrgb(129, 80, 188)
HSLhsl(267, 45%, 53%)
HSVhsv(267, 57%, 74%)
CMYKcmyk(31.4%, 57.4%, 0%, 26.3%)
CIE-LABlab(44.28, 42.41, -49.50)
CIE-LCHlch(44.28, 65.19, 310.59°)
OKLaboklab(53.76% 0.0877 -0.14)
OKLCHoklch(53.76% 0.165 302.1)
XYZxyz(20.9969, 14.0352, 49.1701)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8150BC #8BBC50
analogous
#5055BC #8150BC #B750BC
triadic
#8150BC #BC8150 #50BC81
tetradic
#8150BC #BC5055 #8BBC50 #50BCB7
square
#8150BC #BC5055 #8BBC50 #50BCB7
split-complementary
#8150BC #BCB750 #55BC50
monochromatic
#462869 #633996 #8150BC #A17CCD #C1A9DE

Accessibility & contrast

On white

5.52
#8150BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8150BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8150BC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8150BC#FFFFFF#000000##FFFFFF
##8150BC1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168C0
Deuteranopia (green-blind)
#3568BA
Tritanopia (blue-blind)
#76667E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8150bc;
/* rgb */ color: rgb(129, 80, 188);
/* oklch */ color: oklch(53.8% 0.165 302.1);
Tailwind
colors: {
  custom: {
    50: '#a983d1',
    500: '#8150bc',
    950: '#000000',
  },
}
SCSS
$custom: #8150bc;
$custom-light: #a983d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8150bc",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 267.222,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53764,
    "c": 0.16519,
    "h": 302.1
  },
  "luminance": 0.14035
}

Semantic roles & 50–950 ramp

primary
#8150BC
secondary
#B6CB9C
accent
#D4539A
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8150BC

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

Preview Lab → · Contrast checker → · Palette generator →

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