#8155E4#8155E4

#8155E4 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.3% C 0.206 H 292.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8155E4
RGBrgb(129, 85, 228)
HSLhsl(258, 73%, 61%)
HSVhsv(258, 63%, 89%)
CMYKcmyk(43.4%, 62.7%, 0%, 10.6%)
CIE-LABlab(47.96, 50.13, -66.53)
CIE-LCHlch(47.96, 83.30, 306.99°)
OKLaboklab(57.29% 0.0803 -0.19)
OKLCHoklch(57.29% 0.206 292.9)
XYZxyz(26.3015, 16.7648, 75.2339)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155E4 #B8E455
analogous
#5571E4 #8155E4 #C955E4
triadic
#8155E4 #E48155 #55E481
tetradic
#8155E4 #E45571 #B8E455 #55E4C9
square
#8155E4 #E45571 #B8E455 #55E4C9
split-complementary
#8155E4 #E4C955 #71E455
monochromatic
#451AA4 #5B23D9 #8155E4 #A88AEC #CFBFF5

Accessibility & contrast

On white

4.82
#8155E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8155E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155E4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155E4#FFFFFF#000000##FFFFFF
##8155E41.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#657695
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8155e4;
/* rgb */ color: rgb(129, 85, 228);
/* oklch */ color: oklch(57.3% 0.206 292.9);
Tailwind
colors: {
  custom: {
    50: '#ac87ed',
    500: '#8155e4',
    950: '#000000',
  },
}
SCSS
$custom: #8155e4;
$custom-light: #ac87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8155e4",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 258.462,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57291,
    "c": 0.20629,
    "h": 292.9
  },
  "luminance": 0.16766
}

Semantic roles & 50–950 ramp

primary
#8155E4
secondary
#D5E5B0
accent
#D51198
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8155E4

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

Preview Lab → · Contrast checker → · Palette generator →

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