#8155CB#8155CB

#8155CB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.5% C 0.176 H 297.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8155CB
RGBrgb(129, 85, 203)
HSLhsl(262, 53%, 56%)
HSVhsv(262, 58%, 80%)
CMYKcmyk(36.5%, 58.1%, 0%, 20.4%)
CIE-LABlab(46.28, 43.49, -54.99)
CIE-LCHlch(46.28, 70.11, 308.34°)
OKLaboklab(55.53% 0.0815 -0.1561)
OKLCHoklch(55.53% 0.176 297.6)
XYZxyz(23.0785, 15.4756, 58.2595)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155CB #9FCB55
analogous
#5564CB #8155CB #BC55CB
triadic
#8155CB #CB8155 #55CB81
tetradic
#8155CB #CB5564 #9FCB55 #55CBBC
square
#8155CB #CB5564 #9FCB55 #55CBBC
split-complementary
#8155CB #CBBC55 #64CB55
monochromatic
#48277F #6235AE #8155CB #A484D9 #C6B3E8

Accessibility & contrast

On white

5.13
#8155CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8155CB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155CB#FFFFFF#000000##FFFFFF
##8155CB1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136ECF
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#706E88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8155cb;
/* rgb */ color: rgb(129, 85, 203);
/* oklch */ color: oklch(55.5% 0.176 297.6);
Tailwind
colors: {
  custom: {
    50: '#aa87db',
    500: '#8155cb',
    950: '#000000',
  },
}
SCSS
$custom: #8155cb;
$custom-light: #aa87db;
$custom-dark: #000000;
JSON
{
  "hex": "#8155cb",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 262.373,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55529,
    "c": 0.17609,
    "h": 297.6
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#8155CB
secondary
#C4D6A6
accent
#DD4BA6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8155CB

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

Preview Lab → · Contrast checker → · Palette generator →

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