#8155EB#8155EB

#8155EB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.215 H 291.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8155EB
RGBrgb(129, 85, 235)
HSLhsl(258, 79%, 63%)
HSVhsv(258, 64%, 92%)
CMYKcmyk(45.1%, 63.8%, 0%, 7.8%)
CIE-LABlab(48.46, 52.01, -69.67)
CIE-LCHlch(48.46, 86.94, 306.74°)
OKLaboklab(57.81% 0.0796 -0.1993)
OKLCHoklch(57.81% 0.215 291.8)
XYZxyz(27.2930, 17.1614, 80.4556)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155EB #BFEB55
analogous
#5574EB #8155EB #CC55EB
triadic
#8155EB #EB8155 #55EB81
tetradic
#8155EB #EB5574 #BFEB55 #55EBCC
square
#8155EB #EB5574 #BFEB55 #55EBCC
split-complementary
#8155EB #EBCC55 #74EB55
monochromatic
#4315B1 #581EE5 #8155EB #AA8CF1 #D2C3F8

Accessibility & contrast

On white

4.74
#8155EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8155EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155EB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155EB#FFFFFF#000000##FFFFFF
##8155EB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#617999
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8155eb;
/* rgb */ color: rgb(129, 85, 235);
/* oklch */ color: oklch(57.8% 0.215 291.8);
Tailwind
colors: {
  custom: {
    50: '#ad87f2',
    500: '#8155eb',
    950: '#000000',
  },
}
SCSS
$custom: #8155eb;
$custom-light: #ad87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8155eb",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 257.6,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.21457,
    "h": 291.8
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#8155EB
secondary
#D9E9B3
accent
#DB0A9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8155EB

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

Preview Lab → · Contrast checker → · Palette generator →

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