#8155EC#8155EC

#8155EC is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.9% C 0.216 H 291.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8155EC
RGBrgb(129, 85, 236)
HSLhsl(257, 80%, 63%)
HSVhsv(257, 64%, 93%)
CMYKcmyk(45.3%, 64%, 0%, 7.5%)
CIE-LABlab(48.54, 52.28, -70.11)
CIE-LCHlch(48.54, 87.46, 306.71°)
OKLaboklab(57.89% 0.0795 -0.2006)
OKLCHoklch(57.89% 0.216 291.6)
XYZxyz(27.4379, 17.2193, 81.2186)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155EC #C0EC55
analogous
#5575EC #8155EC #CC55EC
triadic
#8155EC #EC8155 #55EC81
tetradic
#8155EC #EC5575 #C0EC55 #55ECCC
square
#8155EC #EC5575 #C0EC55 #55ECCC
split-complementary
#8155EC #ECCC55 #75EC55
monochromatic
#4214B3 #581EE6 #8155EC #AA8CF2 #D3C3F8

Accessibility & contrast

On white

4.73
#8155EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8155EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155EC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155EC#FFFFFF#000000##FFFFFF
##8155EC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#617999
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8155ec;
/* rgb */ color: rgb(129, 85, 236);
/* oklch */ color: oklch(57.9% 0.216 291.6);
Tailwind
colors: {
  custom: {
    50: '#ad87f3',
    500: '#8155ec',
    950: '#000000',
  },
}
SCSS
$custom: #8155ec;
$custom-light: #ad87f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8155ec",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 257.483,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.21575,
    "h": 291.6
  },
  "luminance": 0.1722
}

Semantic roles & 50–950 ramp

primary
#8155EC
secondary
#DAEAB3
accent
#DC099F
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8155EC

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

Preview Lab → · Contrast checker → · Palette generator →

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