#8155EA#8155EA

#8155EA is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.7% C 0.213 H 291.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8155EA
RGBrgb(129, 85, 234)
HSLhsl(258, 78%, 63%)
HSVhsv(258, 64%, 92%)
CMYKcmyk(44.9%, 63.7%, 0%, 8.2%)
CIE-LABlab(48.39, 51.74, -69.22)
CIE-LCHlch(48.39, 86.42, 306.78°)
OKLaboklab(57.74% 0.0797 -0.1979)
OKLCHoklch(57.74% 0.213 291.9)
XYZxyz(27.1489, 17.1037, 79.6969)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155EA #BEEA55
analogous
#5574EA #8155EA #CB55EA
triadic
#8155EA #EA8155 #55EA81
tetradic
#8155EA #EA5574 #BEEA55 #55EACB
square
#8155EA #EA5574 #BEEA55 #55EACB
split-complementary
#8155EA #EACB55 #74EA55
monochromatic
#4316AF #591FE3 #8155EA #A98BF1 #D2C2F7

Accessibility & contrast

On white

4.75
#8155EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8155EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155EA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155EA#FFFFFF#000000##FFFFFF
##8155EA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#627898
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8155ea;
/* rgb */ color: rgb(129, 85, 234);
/* oklch */ color: oklch(57.7% 0.213 291.9);
Tailwind
colors: {
  custom: {
    50: '#ad87f2',
    500: '#8155ea',
    950: '#000000',
  },
}
SCSS
$custom: #8155ea;
$custom-light: #ad87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8155ea",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 257.718,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57736,
    "c": 0.21339,
    "h": 291.9
  },
  "luminance": 0.17105
}

Semantic roles & 50–950 ramp

primary
#8155EA
secondary
#D8E8B2
accent
#DA0B9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8155EA

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

Preview Lab → · Contrast checker → · Palette generator →

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