#8141C5#8141C5

#8141C5 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.3% C 0.197 H 302.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8141C5
RGBrgb(129, 65, 197)
HSLhsl(269, 53%, 51%)
HSVhsv(269, 67%, 77%)
CMYKcmyk(34.5%, 67%, 0%, 22.7%)
CIE-LABlab(41.97, 52.50, -58.48)
CIE-LCHlch(41.97, 78.59, 311.92°)
OKLaboklab(52.27% 0.1049 -0.1663)
OKLCHoklch(52.27% 0.197 302.3)
XYZxyz(21.0192, 12.4789, 54.1138)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8141C5 #85C541
analogous
#4143C5 #8141C5 #C341C5
triadic
#8141C5 #C58141 #41C581
tetradic
#8141C5 #C54143 #85C541 #41C5C3
square
#8141C5 #C54143 #85C541 #41C5C3
split-complementary
#8141C5 #C5C341 #43C541
monochromatic
#45216B #632F9A #8141C5 #A070D3 #BF9FE2

Accessibility & contrast

On white

6.01
#8141C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8141C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8141C5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8141C5#FFFFFF#000000##FFFFFF
##8141C51.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0063C2
Tritanopia (blue-blind)
#735F7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8141c5;
/* rgb */ color: rgb(129, 65, 197);
/* oklch */ color: oklch(52.3% 0.197 302.3);
Tailwind
colors: {
  custom: {
    50: '#ab7ad7',
    500: '#8141c5',
    950: '#000000',
  },
}
SCSS
$custom: #8141c5;
$custom-light: #ab7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#8141c5",
  "rgb": {
    "r": 129,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 269.091,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52274,
    "c": 0.19664,
    "h": 302.3
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#8141C5
secondary
#B2CE94
accent
#DD4B96
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8141C5

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

Preview Lab → · Contrast checker → · Palette generator →

#8141C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva