#8155D3#8155D3

#8155D3 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.1% C 0.186 H 295.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8155D3
RGBrgb(129, 85, 211)
HSLhsl(261, 59%, 58%)
HSVhsv(261, 60%, 83%)
CMYKcmyk(38.9%, 59.7%, 0%, 17.3%)
CIE-LABlab(46.80, 45.59, -58.74)
CIE-LCHlch(46.80, 74.36, 307.82°)
OKLaboklab(56.08% 0.0813 -0.1671)
OKLCHoklch(56.08% 0.186 295.9)
XYZxyz(24.0566, 15.8668, 63.4105)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155D3 #A7D355
analogous
#5568D3 #8155D3 #C055D3
triadic
#8155D3 #D38155 #55D381
tetradic
#8155D3 #D35568 #A7D355 #55D3C0
square
#8155D3 #D35568 #A7D355 #55D3C0
split-complementary
#8155D3 #D3C055 #68D355
monochromatic
#47248A #6130BB #8155D3 #A586E0 #C9B6EC

Accessibility & contrast

On white

5.03
#8155D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8155D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155D3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155D3#FFFFFF#000000##FFFFFF
##8155D31.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#1A6DD0
Tritanopia (blue-blind)
#6D708C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8155d3;
/* rgb */ color: rgb(129, 85, 211);
/* oklch */ color: oklch(56.1% 0.186 295.9);
Tailwind
colors: {
  custom: {
    50: '#ab87e1',
    500: '#8155d3',
    950: '#000000',
  },
}
SCSS
$custom: #8155d3;
$custom-light: #ab87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8155d3",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 211
  },
  "hsl": {
    "h": 260.952,
    "s": 58.879,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56076,
    "c": 0.18585,
    "h": 295.9
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#8155D3
secondary
#C9DBA9
accent
#E246AB
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8155D3

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

Preview Lab → · Contrast checker → · Palette generator →

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