#8155BB#8155BB

#8155BB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.156 H 301.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8155BB
RGBrgb(129, 85, 187)
HSLhsl(266, 43%, 53%)
HSVhsv(266, 55%, 73%)
CMYKcmyk(31%, 54.5%, 0%, 26.7%)
CIE-LABlab(45.29, 39.37, -47.31)
CIE-LCHlch(45.29, 61.54, 309.77°)
OKLaboklab(54.49% 0.0812 -0.1335)
OKLCHoklch(54.49% 0.156 301.3)
XYZxyz(21.2693, 14.7519, 48.7309)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155BB #8FBB55
analogous
#555CBB #8155BB #B455BB
triadic
#8155BB #BB8155 #55BB81
tetradic
#8155BB #BB555C #8FBB55 #55BBB4
square
#8155BB #BB555C #8FBB55 #55BBB4
split-complementary
#8155BB #BBB455 #5CBB55
monochromatic
#462B6B #633C97 #8155BB #A181CC #C2ACDE

Accessibility & contrast

On white

5.32
#8155BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8155BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155BB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155BB#FFFFFF#000000##FFFFFF
##8155BB1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBE
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#766980
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8155bb;
/* rgb */ color: rgb(129, 85, 187);
/* oklch */ color: oklch(54.5% 0.156 301.3);
Tailwind
colors: {
  custom: {
    50: '#a986d0',
    500: '#8155bb',
    950: '#000000',
  },
}
SCSS
$custom: #8155bb;
$custom-light: #a986d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8155bb",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 265.882,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54487,
    "c": 0.1563,
    "h": 301.3
  },
  "luminance": 0.14752
}

Semantic roles & 50–950 ramp

primary
#8155BB
secondary
#B9CCA0
accent
#D3559D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8155BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8155BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva