#8155EF#8155EF

#8155EF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.219 H 291.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8155EF
RGBrgb(129, 85, 239)
HSLhsl(257, 83%, 64%)
HSVhsv(257, 64%, 94%)
CMYKcmyk(46%, 64.4%, 0%, 6.3%)
CIE-LABlab(48.75, 53.09, -71.44)
CIE-LCHlch(48.75, 89.01, 306.62°)
OKLaboklab(58.11% 0.0792 -0.2045)
OKLCHoklch(58.11% 0.219 291.2)
XYZxyz(27.8774, 17.3951, 83.5334)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155EF #C3EF55
analogous
#5576EF #8155EF #CE55EF
triadic
#8155EF #EF8155 #55EF81
tetradic
#8155EF #EF5576 #C3EF55 #55EFCE
square
#8155EF #EF5576 #C3EF55 #55EFCE
split-complementary
#8155EF #EFCE55 #76EF55
monochromatic
#4111B8 #581DEA #8155EF #AA8DF4 #D4C5FA

Accessibility & contrast

On white

4.69
#8155EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8155EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155EF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155EF#FFFFFF#000000##FFFFFF
##8155EF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#5F7A9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8155ef;
/* rgb */ color: rgb(129, 85, 239);
/* oklch */ color: oklch(58.1% 0.219 291.2);
Tailwind
colors: {
  custom: {
    50: '#ae87f5',
    500: '#8155ef',
    950: '#000000',
  },
}
SCSS
$custom: #8155ef;
$custom-light: #ae87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8155ef",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 239
  },
  "hsl": {
    "h": 257.143,
    "s": 82.796,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58113,
    "c": 0.21927,
    "h": 291.2
  },
  "luminance": 0.17396
}

Semantic roles & 50–950 ramp

primary
#8155EF
secondary
#DCEBB5
accent
#DF06A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8155EF

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

Preview Lab → · Contrast checker → · Palette generator →

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