#8155E5#8155E5

#8155E5 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.207 H 292.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8155E5
RGBrgb(129, 85, 229)
HSLhsl(258, 73%, 62%)
HSVhsv(258, 63%, 90%)
CMYKcmyk(43.7%, 62.9%, 0%, 10.2%)
CIE-LABlab(48.03, 50.39, -66.98)
CIE-LCHlch(48.03, 83.82, 306.96°)
OKLaboklab(57.37% 0.0802 -0.1914)
OKLCHoklch(57.37% 0.207 292.7)
XYZxyz(26.4407, 16.8205, 75.9671)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155E5 #B9E555
analogous
#5571E5 #8155E5 #C955E5
triadic
#8155E5 #E58155 #55E581
tetradic
#8155E5 #E55571 #B9E555 #55E5C9
square
#8155E5 #E55571 #B9E555 #55E5C9
split-complementary
#8155E5 #E5C955 #71E555
monochromatic
#4419A6 #5A22DB #8155E5 #A88AED #D0BFF5

Accessibility & contrast

On white

4.81
#8155E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8155E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155E5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155E5#FFFFFF#000000##FFFFFF
##8155E51.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#647795
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8155e5;
/* rgb */ color: rgb(129, 85, 229);
/* oklch */ color: oklch(57.4% 0.207 292.7);
Tailwind
colors: {
  custom: {
    50: '#ac87ee',
    500: '#8155e5',
    950: '#000000',
  },
}
SCSS
$custom: #8155e5;
$custom-light: #ac87ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8155e5",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 229
  },
  "hsl": {
    "h": 258.333,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57365,
    "c": 0.20748,
    "h": 292.7
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#8155E5
secondary
#D5E6B0
accent
#D61099
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8155E5

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

Preview Lab → · Contrast checker → · Palette generator →

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