#8155BA#8155BA

#8155BA is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.4% C 0.155 H 301.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8155BA
RGBrgb(129, 85, 186)
HSLhsl(266, 42%, 53%)
HSVhsv(266, 54%, 73%)
CMYKcmyk(30.6%, 54.3%, 0%, 27.1%)
CIE-LABlab(45.23, 39.11, -46.82)
CIE-LCHlch(45.23, 61.01, 309.88°)
OKLaboklab(54.42% 0.0812 -0.1321)
OKLCHoklch(54.42% 0.155 301.6)
XYZxyz(21.1626, 14.7092, 48.1691)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155BA #8EBA55
analogous
#555BBA #8155BA #B355BA
triadic
#8155BA #BA8155 #55BA81
tetradic
#8155BA #BA555B #8EBA55 #55BAB3
square
#8155BA #BA555B #8EBA55 #55BAB3
split-complementary
#8155BA #BAB355 #5BBA55
monochromatic
#462B6A #633D95 #8155BA #A181CC #C2ACDD

Accessibility & contrast

On white

5.33
#8155BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8155BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155BA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155BA#FFFFFF#000000##FFFFFF
##8155BA1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABD
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#76687F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8155ba;
/* rgb */ color: rgb(129, 85, 186);
/* oklch */ color: oklch(54.4% 0.155 301.6);
Tailwind
colors: {
  custom: {
    50: '#a986cf',
    500: '#8155ba',
    950: '#000000',
  },
}
SCSS
$custom: #8155ba;
$custom-light: #a986cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8155ba",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 266.139,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.15506,
    "h": 301.6
  },
  "luminance": 0.14709
}

Semantic roles & 50–950 ramp

primary
#8155BA
secondary
#B8CBA0
accent
#D2569C
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8155BA

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

Preview Lab → · Contrast checker → · Palette generator →

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