#8155CC#8155CC

#8155CC is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.177 H 297.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8155CC
RGBrgb(129, 85, 204)
HSLhsl(262, 54%, 57%)
HSVhsv(262, 58%, 80%)
CMYKcmyk(36.8%, 58.3%, 0%, 20%)
CIE-LABlab(46.34, 43.75, -55.46)
CIE-LCHlch(46.34, 70.64, 308.27°)
OKLaboklab(55.6% 0.0815 -0.1575)
OKLCHoklch(55.6% 0.177 297.4)
XYZxyz(23.1981, 15.5234, 58.8891)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155CC #A0CC55
analogous
#5565CC #8155CC #BD55CC
triadic
#8155CC #CC8155 #55CC81
tetradic
#8155CC #CC5565 #A0CC55 #55CCBD
square
#8155CC #CC5565 #A0CC55 #55CCBD
split-complementary
#8155CC #CCBD55 #65CC55
monochromatic
#482680 #6235AF #8155CC #A484DA #C7B3E8

Accessibility & contrast

On white

5.12
#8155CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8155CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155CC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155CC#FFFFFF#000000##FFFFFF
##8155CC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106ED0
Deuteranopia (green-blind)
#286CC9
Tritanopia (blue-blind)
#706E88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8155cc;
/* rgb */ color: rgb(129, 85, 204);
/* oklch */ color: oklch(55.6% 0.177 297.4);
Tailwind
colors: {
  custom: {
    50: '#aa87dc',
    500: '#8155cc',
    950: '#000000',
  },
}
SCSS
$custom: #8155cc;
$custom-light: #aa87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8155cc",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 262.185,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55597,
    "c": 0.17731,
    "h": 297.4
  },
  "luminance": 0.15524
}

Semantic roles & 50–950 ramp

primary
#8155CC
secondary
#C5D7A6
accent
#DD4BA7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8155CC

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

Preview Lab → · Contrast checker → · Palette generator →

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