#8155E1#8155E1

#8155E1 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.1% C 0.203 H 293.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8155E1
RGBrgb(129, 85, 225)
HSLhsl(259, 70%, 61%)
HSVhsv(259, 62%, 88%)
CMYKcmyk(42.7%, 62.2%, 0%, 11.8%)
CIE-LABlab(47.75, 49.32, -65.18)
CIE-LCHlch(47.75, 81.73, 307.12°)
OKLaboklab(57.07% 0.0805 -0.186)
OKLCHoklch(57.07% 0.203 293.4)
XYZxyz(25.8887, 16.5997, 73.0596)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155E1 #B5E155
analogous
#556FE1 #8155E1 #C755E1
triadic
#8155E1 #E18155 #55E181
tetradic
#8155E1 #E1556F #B5E155 #55E1C7
square
#8155E1 #E1556F #B5E155 #55E1C7
split-complementary
#8155E1 #E1C755 #6FE155
monochromatic
#451C9F #5C25D3 #8155E1 #A889EA #CEBDF3

Accessibility & contrast

On white

4.86
#8155E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8155E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155E1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155E1#FFFFFF#000000##FFFFFF
##8155E11.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#667593
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8155e1;
/* rgb */ color: rgb(129, 85, 225);
/* oklch */ color: oklch(57.1% 0.203 293.4);
Tailwind
colors: {
  custom: {
    50: '#ac87eb',
    500: '#8155e1',
    950: '#000000',
  },
}
SCSS
$custom: #8155e1;
$custom-light: #ac87eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8155e1",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 225
  },
  "hsl": {
    "h": 258.857,
    "s": 70,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57072,
    "c": 0.20271,
    "h": 293.4
  },
  "luminance": 0.166
}

Semantic roles & 50–950 ramp

primary
#8155E1
secondary
#D3E3AE
accent
#D21496
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8155E1

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

Preview Lab → · Contrast checker → · Palette generator →

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