#8155CA#8155CA

#8155CA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.5% C 0.175 H 297.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8155CA
RGBrgb(129, 85, 202)
HSLhsl(263, 52%, 56%)
HSVhsv(263, 58%, 79%)
CMYKcmyk(36.1%, 57.9%, 0%, 20.8%)
CIE-LABlab(46.22, 43.23, -54.52)
CIE-LCHlch(46.22, 69.58, 308.41°)
OKLaboklab(55.46% 0.0815 -0.1547)
OKLCHoklch(55.46% 0.175 297.8)
XYZxyz(22.9598, 15.4281, 57.6339)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155CA #9ECA55
analogous
#5564CA #8155CA #BC55CA
triadic
#8155CA #CA8155 #55CA81
tetradic
#8155CA #CA5564 #9ECA55 #55CABC
square
#8155CA #CA5564 #9ECA55 #55CABC
split-complementary
#8155CA #CABC55 #64CA55
monochromatic
#48277D #6236AC #8155CA #A484D9 #C6B2E7

Accessibility & contrast

On white

5.14
#8155CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8155CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155CA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155CA#FFFFFF#000000##FFFFFF
##8155CA1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166ECE
Deuteranopia (green-blind)
#2B6CC7
Tritanopia (blue-blind)
#706E87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8155ca;
/* rgb */ color: rgb(129, 85, 202);
/* oklch */ color: oklch(55.5% 0.175 297.8);
Tailwind
colors: {
  custom: {
    50: '#aa86db',
    500: '#8155ca',
    950: '#000000',
  },
}
SCSS
$custom: #8155ca;
$custom-light: #aa86db;
$custom-dark: #000000;
JSON
{
  "hex": "#8155ca",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 262.564,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55462,
    "c": 0.17486,
    "h": 297.8
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#8155CA
secondary
#C3D5A5
accent
#DC4CA6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8155CA

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

Preview Lab → · Contrast checker → · Palette generator →

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