#8155E7#8155E7

#8155E7 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.210 H 292.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8155E7
RGBrgb(129, 85, 231)
HSLhsl(258, 75%, 62%)
HSVhsv(258, 63%, 91%)
CMYKcmyk(44.2%, 63.2%, 0%, 9.4%)
CIE-LABlab(48.18, 50.93, -67.88)
CIE-LCHlch(48.18, 84.87, 306.88°)
OKLaboklab(57.51% 0.08 -0.194)
OKLCHoklch(57.51% 0.21 292.4)
XYZxyz(26.7216, 16.9328, 77.4463)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155E7 #BBE755
analogous
#5572E7 #8155E7 #CA55E7
triadic
#8155E7 #E78155 #55E781
tetradic
#8155E7 #E75572 #BBE755 #55E7CA
square
#8155E7 #E75572 #BBE755 #55E7CA
split-complementary
#8155E7 #E7CA55 #72E755
monochromatic
#4418AA #5920DF #8155E7 #A98BEF #D0C0F6

Accessibility & contrast

On white

4.79
#8155E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8155E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155E7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155E7#FFFFFF#000000##FFFFFF
##8155E71.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#637796
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8155e7;
/* rgb */ color: rgb(129, 85, 231);
/* oklch */ color: oklch(57.5% 0.210 292.4);
Tailwind
colors: {
  custom: {
    50: '#ad87f0',
    500: '#8155e7',
    950: '#000000',
  },
}
SCSS
$custom: #8155e7;
$custom-light: #ad87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8155e7",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 258.082,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57513,
    "c": 0.20984,
    "h": 292.4
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#8155E7
secondary
#D7E7B1
accent
#D70E9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8155E7

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

Preview Lab → · Contrast checker → · Palette generator →

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