#8155E2#8155E2

#8155E2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.1% C 0.204 H 293.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8155E2
RGBrgb(129, 85, 226)
HSLhsl(259, 71%, 61%)
HSVhsv(259, 62%, 89%)
CMYKcmyk(42.9%, 62.4%, 0%, 11.4%)
CIE-LABlab(47.82, 49.59, -65.63)
CIE-LCHlch(47.82, 82.26, 307.07°)
OKLaboklab(57.15% 0.0804 -0.1874)
OKLCHoklch(57.15% 0.204 293.2)
XYZxyz(26.0255, 16.6544, 73.7801)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155E2 #B6E255
analogous
#556FE2 #8155E2 #C755E2
triadic
#8155E2 #E28155 #55E281
tetradic
#8155E2 #E2556F #B6E255 #55E2C7
square
#8155E2 #E2556F #B6E255 #55E2C7
split-complementary
#8155E2 #E2C755 #6FE255
monochromatic
#451BA1 #5C24D5 #8155E2 #A889EB #CEBEF4

Accessibility & contrast

On white

4.85
#8155E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8155E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155E2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155E2#FFFFFF#000000##FFFFFF
##8155E21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#667694
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8155e2;
/* rgb */ color: rgb(129, 85, 226);
/* oklch */ color: oklch(57.1% 0.204 293.2);
Tailwind
colors: {
  custom: {
    50: '#ac87ec',
    500: '#8155e2',
    950: '#000000',
  },
}
SCSS
$custom: #8155e2;
$custom-light: #ac87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8155e2",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 258.723,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57145,
    "c": 0.20391,
    "h": 293.2
  },
  "luminance": 0.16655
}

Semantic roles & 50–950 ramp

primary
#8155E2
secondary
#D3E4AF
accent
#D31397
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8155E2

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

Preview Lab → · Contrast checker → · Palette generator →

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