#8155D2#8155D2

#8155D2 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.185 H 296.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8155D2
RGBrgb(129, 85, 210)
HSLhsl(261, 58%, 58%)
HSVhsv(261, 60%, 82%)
CMYKcmyk(38.6%, 59.5%, 0%, 17.6%)
CIE-LABlab(46.73, 45.33, -58.28)
CIE-LCHlch(46.73, 73.83, 307.88°)
OKLaboklab(56.01% 0.0813 -0.1658)
OKLCHoklch(56.01% 0.185 296.1)
XYZxyz(23.9316, 15.8168, 62.7524)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155D2 #A6D255
analogous
#5567D2 #8155D2 #C055D2
triadic
#8155D2 #D28155 #55D281
tetradic
#8155D2 #D25567 #A6D255 #55D2C0
square
#8155D2 #D25567 #A6D255 #55D2C0
split-complementary
#8155D2 #D2C055 #67D255
monochromatic
#472488 #6131B9 #8155D2 #A585DF #C9B6EC

Accessibility & contrast

On white

5.04
#8155D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8155D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155D2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155D2#FFFFFF#000000##FFFFFF
##8155D21.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#1C6DCF
Tritanopia (blue-blind)
#6D708B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8155d2;
/* rgb */ color: rgb(129, 85, 210);
/* oklch */ color: oklch(56.0% 0.185 296.1);
Tailwind
colors: {
  custom: {
    50: '#ab87e0',
    500: '#8155d2',
    950: '#000000',
  },
}
SCSS
$custom: #8155d2;
$custom-light: #ab87e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8155d2",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 261.12,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56007,
    "c": 0.18463,
    "h": 296.1
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#8155D2
secondary
#C9DAA8
accent
#E146AB
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8155D2

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

Preview Lab → · Contrast checker → · Palette generator →

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