#8155DC#8155DC

#8155DC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.7% C 0.197 H 294.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8155DC
RGBrgb(129, 85, 220)
HSLhsl(260, 66%, 60%)
HSVhsv(260, 61%, 86%)
CMYKcmyk(41.4%, 61.4%, 0%, 13.7%)
CIE-LABlab(47.41, 47.98, -62.90)
CIE-LCHlch(47.41, 79.11, 307.34°)
OKLaboklab(56.71% 0.0808 -0.1793)
OKLCHoklch(56.71% 0.197 294.3)
XYZxyz(25.2166, 16.3308, 69.5198)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155DC #B0DC55
analogous
#556CDC #8155DC #C555DC
triadic
#8155DC #DC8155 #55DC81
tetradic
#8155DC #DC556C #B0DC55 #55DCC5
square
#8155DC #DC556C #B0DC55 #55DCC5
split-complementary
#8155DC #DCC555 #6CDC55
monochromatic
#461F97 #5E2ACA #8155DC #A788E6 #CCBBF1

Accessibility & contrast

On white

4.92
#8155DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8155DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155DC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155DC#FFFFFF#000000##FFFFFF
##8155DC1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#697391
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8155dc;
/* rgb */ color: rgb(129, 85, 220);
/* oklch */ color: oklch(56.7% 0.197 294.3);
Tailwind
colors: {
  custom: {
    50: '#ac87e8',
    500: '#8155dc',
    950: '#000000',
  },
}
SCSS
$custom: #8155dc;
$custom-light: #ac87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8155dc",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 259.556,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56711,
    "c": 0.19673,
    "h": 294.3
  },
  "luminance": 0.16331
}

Semantic roles & 50–950 ramp

primary
#8155DC
secondary
#CFE0AC
accent
#E93FB1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8155DC

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

Preview Lab → · Contrast checker → · Palette generator →

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