#8155E3#8155E3

#8155E3 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.2% C 0.205 H 293.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8155E3
RGBrgb(129, 85, 227)
HSLhsl(259, 72%, 61%)
HSVhsv(259, 63%, 89%)
CMYKcmyk(43.2%, 62.6%, 0%, 11%)
CIE-LABlab(47.89, 49.86, -66.08)
CIE-LCHlch(47.89, 82.78, 307.03°)
OKLaboklab(57.22% 0.0803 -0.1887)
OKLCHoklch(57.22% 0.205 293.1)
XYZxyz(26.1631, 16.7094, 74.5049)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155E3 #B7E355
analogous
#5570E3 #8155E3 #C855E3
triadic
#8155E3 #E38155 #55E381
tetradic
#8155E3 #E35570 #B7E355 #55E3C8
square
#8155E3 #E35570 #B7E355 #55E3C8
split-complementary
#8155E3 #E3C855 #70E355
monochromatic
#451BA3 #5B23D7 #8155E3 #A88AEC #CFBEF4

Accessibility & contrast

On white

4.84
#8155E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8155E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155E3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155E3#FFFFFF#000000##FFFFFF
##8155E31.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#657694
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8155e3;
/* rgb */ color: rgb(129, 85, 227);
/* oklch */ color: oklch(57.2% 0.205 293.1);
Tailwind
colors: {
  custom: {
    50: '#ac87ed',
    500: '#8155e3',
    950: '#000000',
  },
}
SCSS
$custom: #8155e3;
$custom-light: #ac87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8155e3",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 227
  },
  "hsl": {
    "h": 258.592,
    "s": 71.717,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57218,
    "c": 0.2051,
    "h": 293.1
  },
  "luminance": 0.1671
}

Semantic roles & 50–950 ramp

primary
#8155E3
secondary
#D4E5AF
accent
#D41298
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8155E3

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

Preview Lab → · Contrast checker → · Palette generator →

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