#8155ED#8155ED

#8155ED is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.217 H 291.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8155ED
RGBrgb(129, 85, 237)
HSLhsl(257, 81%, 63%)
HSVhsv(257, 64%, 93%)
CMYKcmyk(45.6%, 64.1%, 0%, 7.1%)
CIE-LABlab(48.61, 52.55, -70.56)
CIE-LCHlch(48.61, 87.98, 306.68°)
OKLaboklab(57.96% 0.0794 -0.2019)
OKLCHoklch(57.96% 0.217 291.5)
XYZxyz(27.5835, 17.2776, 81.9859)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155ED #C1ED55
analogous
#5575ED #8155ED #CD55ED
triadic
#8155ED #ED8155 #55ED81
tetradic
#8155ED #ED5575 #C1ED55 #55EDCD
square
#8155ED #ED5575 #C1ED55 #55EDCD
split-complementary
#8155ED #EDCD55 #75ED55
monochromatic
#4213B4 #581EE7 #8155ED #AA8CF3 #D3C4F9

Accessibility & contrast

On white

4.71
#8155ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8155ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155ED
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155ED#FFFFFF#000000##FFFFFF
##8155ED1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#60799A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8155ed;
/* rgb */ color: rgb(129, 85, 237);
/* oklch */ color: oklch(58.0% 0.217 291.5);
Tailwind
colors: {
  custom: {
    50: '#ad87f4',
    500: '#8155ed',
    950: '#000000',
  },
}
SCSS
$custom: #8155ed;
$custom-light: #ad87f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8155ed",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 237
  },
  "hsl": {
    "h": 257.368,
    "s": 80.851,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57962,
    "c": 0.21692,
    "h": 291.5
  },
  "luminance": 0.17279
}

Semantic roles & 50–950 ramp

primary
#8155ED
secondary
#DAEAB4
accent
#DD08A0
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8155ED

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

Preview Lab → · Contrast checker → · Palette generator →

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