#8155D4#8155D4

#8155D4 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.1% C 0.187 H 295.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8155D4
RGBrgb(129, 85, 212)
HSLhsl(261, 60%, 58%)
HSVhsv(261, 60%, 83%)
CMYKcmyk(39.2%, 59.9%, 0%, 16.9%)
CIE-LABlab(46.87, 45.86, -59.21)
CIE-LCHlch(46.87, 74.89, 307.76°)
OKLaboklab(56.15% 0.0813 -0.1685)
OKLCHoklch(56.15% 0.187 295.7)
XYZxyz(24.1823, 15.9171, 64.0728)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8155D4 #A8D455
analogous
#5569D4 #8155D4 #C055D4
triadic
#8155D4 #D48155 #55D481
tetradic
#8155D4 #D45569 #A8D455 #55D4C0
square
#8155D4 #D45569 #A8D455 #55D4C0
split-complementary
#8155D4 #D4C055 #69D455
monochromatic
#47238B #6030BC #8155D4 #A586E0 #C9B7ED

Accessibility & contrast

On white

5.02
#8155D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8155D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8155D4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8155D4#FFFFFF#000000##FFFFFF
##8155D41.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#176DD1
Tritanopia (blue-blind)
#6C718C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8155d4;
/* rgb */ color: rgb(129, 85, 212);
/* oklch */ color: oklch(56.1% 0.187 295.7);
Tailwind
colors: {
  custom: {
    50: '#ab87e2',
    500: '#8155d4',
    950: '#000000',
  },
}
SCSS
$custom: #8155d4;
$custom-light: #ab87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8155d4",
  "rgb": {
    "r": 129,
    "g": 85,
    "b": 212
  },
  "hsl": {
    "h": 260.787,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56146,
    "c": 0.18707,
    "h": 295.7
  },
  "luminance": 0.15918
}

Semantic roles & 50–950 ramp

primary
#8155D4
secondary
#CADCA9
accent
#E345AC
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8155D4

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

Preview Lab → · Contrast checker → · Palette generator →

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