#8155E9#8155E9

#8155E9 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.7% C 0.212 H 292.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8155E9
RGBrgb(129, 85, 233)
HSLhsl(258, 77%, 62%)
HSVhsv(258, 64%, 91%)
CMYKcmyk(44.6%, 63.5%, 0%, 8.6%)
CIE-LABlab(48.32, 51.47, -68.78)
CIE-LCHlch(48.32, 85.91, 306.81°)
OKLaboklab(57.66% 0.0798 -0.1966)
OKLCHoklch(57.66% 0.212 292.1)
XYZxyz(27.0057, 17.0464, 78.9424)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155E9 #BDE955
analogous
#5573E9 #8155E9 #CB55E9
triadic
#8155E9 #E98155 #55E981
tetradic
#8155E9 #E95573 #BDE955 #55E9CB
square
#8155E9 #E95573 #BDE955 #55E9CB
split-complementary
#8155E9 #E9CB55 #73E955
monochromatic
#4316AD #591FE2 #8155E9 #A98BF0 #D1C1F7

Accessibility & contrast

On white

4.76
#8155E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8155E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155E9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155E9#FFFFFF#000000##FFFFFF
##8155E91.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#0070E6
Tritanopia (blue-blind)
#627897
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8155e9;
/* rgb */ color: rgb(129, 85, 233);
/* oklch */ color: oklch(57.7% 0.212 292.1);
Tailwind
colors: {
  custom: {
    50: '#ad87f1',
    500: '#8155e9',
    950: '#000000',
  },
}
SCSS
$custom: #8155e9;
$custom-light: #ad87f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8155e9",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 233
  },
  "hsl": {
    "h": 257.838,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57661,
    "c": 0.21222,
    "h": 292.1
  },
  "luminance": 0.17047
}

Semantic roles & 50–950 ramp

primary
#8155E9
secondary
#D8E8B2
accent
#D90C9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8155E9

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

Preview Lab → · Contrast checker → · Palette generator →

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