#8155EE#8155EE

#8155EE is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.218 H 291.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8155EE
RGBrgb(129, 85, 238)
HSLhsl(257, 82%, 63%)
HSVhsv(257, 64%, 93%)
CMYKcmyk(45.8%, 64.3%, 0%, 6.7%)
CIE-LABlab(48.68, 52.82, -71.00)
CIE-LCHlch(48.68, 88.50, 306.65°)
OKLaboklab(58.04% 0.0793 -0.2032)
OKLCHoklch(58.04% 0.218 291.3)
XYZxyz(27.7301, 17.3362, 82.7575)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155EE #C2EE55
analogous
#5575EE #8155EE #CD55EE
triadic
#8155EE #EE8155 #55EE81
tetradic
#8155EE #EE5575 #C2EE55 #55EECD
square
#8155EE #EE5575 #C2EE55 #55EECD
split-complementary
#8155EE #EECD55 #75EE55
monochromatic
#4112B6 #581DE8 #8155EE #AA8DF4 #D3C4F9

Accessibility & contrast

On white

4.70
#8155EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8155EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155EE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155EE#FFFFFF#000000##FFFFFF
##8155EE1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#607A9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8155ee;
/* rgb */ color: rgb(129, 85, 238);
/* oklch */ color: oklch(58.0% 0.218 291.3);
Tailwind
colors: {
  custom: {
    50: '#ad87f5',
    500: '#8155ee',
    950: '#000000',
  },
}
SCSS
$custom: #8155ee;
$custom-light: #ad87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8155ee",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 238
  },
  "hsl": {
    "h": 257.255,
    "s": 81.818,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58037,
    "c": 0.2181,
    "h": 291.3
  },
  "luminance": 0.17337
}

Semantic roles & 50–950 ramp

primary
#8155EE
secondary
#DBEBB4
accent
#DE07A0
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8155EE

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

Preview Lab → · Contrast checker → · Palette generator →

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