#8155D8#8155D8

#8155D8 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.4% C 0.192 H 295.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8155D8
RGBrgb(129, 85, 216)
HSLhsl(260, 63%, 59%)
HSVhsv(260, 61%, 85%)
CMYKcmyk(40.3%, 60.6%, 0%, 15.3%)
CIE-LABlab(47.13, 46.92, -61.06)
CIE-LCHlch(47.13, 77.00, 307.54°)
OKLaboklab(56.43% 0.0811 -0.1739)
OKLCHoklch(56.43% 0.192 295)
XYZxyz(24.6932, 16.1214, 66.7632)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155D8 #ACD855
analogous
#556BD8 #8155D8 #C355D8
triadic
#8155D8 #D88155 #55D881
tetradic
#8155D8 #D8556B #ACD855 #55D8C3
square
#8155D8 #D8556B #ACD855 #55D8C3
split-complementary
#8155D8 #D8C355 #6BD855
monochromatic
#472191 #5F2DC3 #8155D8 #A687E3 #CBB9EF

Accessibility & contrast

On white

4.97
#8155D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8155D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155D8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155D8#FFFFFF#000000##FFFFFF
##8155D81.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#086ED5
Tritanopia (blue-blind)
#6B728E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8155d8;
/* rgb */ color: rgb(129, 85, 216);
/* oklch */ color: oklch(56.4% 0.192 295.0);
Tailwind
colors: {
  custom: {
    50: '#ab87e5',
    500: '#8155d8',
    950: '#000000',
  },
}
SCSS
$custom: #8155d8;
$custom-light: #ab87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8155d8",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 216
  },
  "hsl": {
    "h": 260.153,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56426,
    "c": 0.1919,
    "h": 295
  },
  "luminance": 0.16122
}

Semantic roles & 50–950 ramp

primary
#8155D8
secondary
#CDDEAB
accent
#E642AF
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8155D8

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

Preview Lab → · Contrast checker → · Palette generator →

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