#8155CD#8155CD

#8155CD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.7% C 0.179 H 297.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8155CD
RGBrgb(129, 85, 205)
HSLhsl(262, 55%, 57%)
HSVhsv(262, 59%, 80%)
CMYKcmyk(37.1%, 58.5%, 0%, 19.6%)
CIE-LABlab(46.41, 44.01, -55.93)
CIE-LCHlch(46.41, 71.17, 308.20°)
OKLaboklab(55.66% 0.0815 -0.1589)
OKLCHoklch(55.66% 0.179 297.1)
XYZxyz(23.3184, 15.5715, 59.5228)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155CD #A1CD55
analogous
#5565CD #8155CD #BD55CD
triadic
#8155CD #CD8155 #55CD81
tetradic
#8155CD #CD5565 #A1CD55 #55CDBD
square
#8155CD #CD5565 #A1CD55 #55CDBD
split-complementary
#8155CD #CDBD55 #65CD55
monochromatic
#482682 #6234B1 #8155CD #A484DB #C7B4E9

Accessibility & contrast

On white

5.10
#8155CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8155CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155CD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155CD#FFFFFF#000000##FFFFFF
##8155CD1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6ED1
Deuteranopia (green-blind)
#266DCA
Tritanopia (blue-blind)
#6F6F89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8155cd;
/* rgb */ color: rgb(129, 85, 205);
/* oklch */ color: oklch(55.7% 0.179 297.1);
Tailwind
colors: {
  custom: {
    50: '#aa87dd',
    500: '#8155cd',
    950: '#000000',
  },
}
SCSS
$custom: #8155cd;
$custom-light: #aa87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8155cd",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 262,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55664,
    "c": 0.17853,
    "h": 297.1
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8155CD

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

Preview Lab → · Contrast checker → · Palette generator →

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