#8155B2#8155B2

#8155B2 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 53.9% C 0.145 H 303.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8155B2
RGBrgb(129, 85, 178)
HSLhsl(268, 38%, 52%)
HSVhsv(268, 52%, 70%)
CMYKcmyk(27.5%, 52.2%, 0%, 30.2%)
CIE-LABlab(44.77, 37.11, -42.88)
CIE-LCHlch(44.77, 56.71, 310.87°)
OKLaboklab(53.93% 0.0807 -0.1206)
OKLCHoklch(53.93% 0.145 303.8)
XYZxyz(20.3359, 14.3785, 43.8148)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155B2 #86B255
analogous
#5558B2 #8155B2 #B055B2
triadic
#8155B2 #B28155 #55B281
tetradic
#8155B2 #B25558 #86B255 #55B2B0
square
#8155B2 #B25558 #86B255 #55B2B0
split-complementary
#8155B2 #B2B055 #58B255
monochromatic
#452C61 #633F8B #8155B2 #A07FC5 #BFA9D8

Accessibility & contrast

On white

5.42
#8155B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8155B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155B2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155B2#FFFFFF#000000##FFFFFF
##8155B21.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#446AB0
Tritanopia (blue-blind)
#78667B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8155b2;
/* rgb */ color: rgb(129, 85, 178);
/* oklch */ color: oklch(53.9% 0.145 303.8);
Tailwind
colors: {
  custom: {
    50: '#a886c9',
    500: '#8155b2',
    950: '#000000',
  },
}
SCSS
$custom: #8155b2;
$custom-light: #a886c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8155b2",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 268.387,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53933,
    "c": 0.14507,
    "h": 303.8
  },
  "luminance": 0.14378
}

Semantic roles & 50–950 ramp

primary
#8155B2
secondary
#B3C69D
accent
#CE5A97
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8155B2

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

Preview Lab → · Contrast checker → · Palette generator →

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