#8155BC#8155BC

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

Color values

HEX#8155BC
RGBrgb(129, 85, 188)
HSLhsl(266, 43%, 54%)
HSVhsv(266, 55%, 74%)
CMYKcmyk(31.4%, 54.8%, 0%, 26.3%)
CIE-LABlab(45.35, 39.62, -47.79)
CIE-LCHlch(45.35, 62.08, 309.66°)
OKLaboklab(54.55% 0.0813 -0.135)
OKLCHoklch(54.55% 0.158 301)
XYZxyz(21.3767, 14.7949, 49.2967)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155BC #90BC55
analogous
#555CBC #8155BC #B455BC
triadic
#8155BC #BC8155 #55BC81
tetradic
#8155BC #BC555C #90BC55 #55BCB4
square
#8155BC #BC555C #90BC55 #55BCB4
split-complementary
#8155BC #BCB455 #5CBC55
monochromatic
#472B6C #633C98 #8155BC #A281CD #C2ADDF

Accessibility & contrast

On white

5.30
#8155BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8155BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155BC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155BC#FFFFFF#000000##FFFFFF
##8155BC1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BBF
Deuteranopia (green-blind)
#3B6BBA
Tritanopia (blue-blind)
#756980
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8155bc;
/* rgb */ color: rgb(129, 85, 188);
/* oklch */ color: oklch(54.5% 0.158 301.0);
Tailwind
colors: {
  custom: {
    50: '#a986d1',
    500: '#8155bc',
    950: '#000000',
  },
}
SCSS
$custom: #8155bc;
$custom-light: #a986d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8155bc",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 265.631,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5455,
    "c": 0.15755,
    "h": 301
  },
  "luminance": 0.14795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8155BC

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

Preview Lab → · Contrast checker → · Palette generator →

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