#8155D5#8155D5

#8155D5 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.2% C 0.188 H 295.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8155D5
RGBrgb(129, 85, 213)
HSLhsl(261, 60%, 58%)
HSVhsv(261, 60%, 84%)
CMYKcmyk(39.4%, 60.1%, 0%, 16.5%)
CIE-LABlab(46.93, 46.12, -59.67)
CIE-LCHlch(46.93, 75.42, 307.70°)
OKLaboklab(56.22% 0.0812 -0.1699)
OKLCHoklch(56.22% 0.188 295.6)
XYZxyz(24.3089, 15.9677, 64.7392)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155D5 #A9D555
analogous
#5569D5 #8155D5 #C155D5
triadic
#8155D5 #D58155 #55D581
tetradic
#8155D5 #D55569 #A9D555 #55D5C1
square
#8155D5 #D55569 #A9D555 #55D5C1
split-complementary
#8155D5 #D5C155 #69D555
monochromatic
#47238D #602FBE #8155D5 #A586E1 #CAB7ED

Accessibility & contrast

On white

5.01
#8155D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8155D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155D5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155D5#FFFFFF#000000##FFFFFF
##8155D51.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#146DD2
Tritanopia (blue-blind)
#6C718D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8155d5;
/* rgb */ color: rgb(129, 85, 213);
/* oklch */ color: oklch(56.2% 0.188 295.6);
Tailwind
colors: {
  custom: {
    50: '#ab87e3',
    500: '#8155d5',
    950: '#000000',
  },
}
SCSS
$custom: #8155d5;
$custom-light: #ab87e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8155d5",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 213
  },
  "hsl": {
    "h": 260.625,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56215,
    "c": 0.18828,
    "h": 295.6
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#8155D5
secondary
#CBDCA9
accent
#E444AD
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8155D5

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

Preview Lab → · Contrast checker → · Palette generator →

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