#8155AC#8155AC

#8155AC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.6% C 0.138 H 305.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8155AC
RGBrgb(129, 85, 172)
HSLhsl(270, 34%, 50%)
HSVhsv(270, 51%, 67%)
CMYKcmyk(25%, 50.6%, 0%, 32.5%)
CIE-LABlab(44.44, 35.63, -39.88)
CIE-LCHlch(44.44, 53.48, 311.78°)
OKLaboklab(53.58% 0.0801 -0.1118)
OKLCHoklch(53.58% 0.138 305.6)
XYZxyz(19.7466, 14.1428, 40.7113)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155AC #80AC55
analogous
#5655AC #8155AC #AC55AB
triadic
#8155AC #AC8155 #55AC81
tetradic
#8155AC #AC5655 #80AC55 #55ABAC
square
#8155AC #AC5655 #80AC55 #55ABAC
split-complementary
#8155AC #ABAC55 #55AC56
monochromatic
#442C5A #624084 #8155AC #9F7EC0 #BEA7D4

Accessibility & contrast

On white

5.49
#8155AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8155AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155AC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155AC#FFFFFF#000000##FFFFFF
##8155AC1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C68AF
Deuteranopia (green-blind)
#4869AA
Tritanopia (blue-blind)
#7A6478
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8155ac;
/* rgb */ color: rgb(129, 85, 172);
/* oklch */ color: oklch(53.6% 0.138 305.6);
Tailwind
colors: {
  custom: {
    50: '#a886c5',
    500: '#8155ac',
    950: '#000000',
  },
}
SCSS
$custom: #8155ac;
$custom-light: #a886c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8155ac",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 270.345,
    "s": 34.387,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53577,
    "c": 0.13757,
    "h": 305.6
  },
  "luminance": 0.14143
}

Semantic roles & 50–950 ramp

primary
#8155AC
secondary
#AEC29B
accent
#CA5D93
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8155AC

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

Preview Lab → · Contrast checker → · Palette generator →

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