#8141C9#8141C9

#8141C9 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.6% C 0.201 H 301.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8141C9
RGBrgb(129, 65, 201)
HSLhsl(268, 56%, 52%)
HSVhsv(268, 68%, 79%)
CMYKcmyk(35.8%, 67.7%, 0%, 21.2%)
CIE-LABlab(42.25, 53.48, -60.34)
CIE-LCHlch(42.25, 80.63, 311.55°)
OKLaboklab(52.57% 0.1044 -0.1718)
OKLCHoklch(52.57% 0.201 301.3)
XYZxyz(21.4836, 12.6647, 56.5597)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8141C9 #89C941
analogous
#4145C9 #8141C9 #C541C9
triadic
#8141C9 #C98141 #41C981
tetradic
#8141C9 #C94145 #89C941 #41C9C5
square
#8141C9 #C94145 #89C941 #41C9C5
split-complementary
#8141C9 #C9C541 #45C941
monochromatic
#452070 #632D9F #8141C9 #A171D7 #C0A0E4

Accessibility & contrast

On white

5.94
#8141C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8141C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8141C9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8141C9#FFFFFF#000000##FFFFFF
##8141C91.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#726080
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8141c9;
/* rgb */ color: rgb(129, 65, 201);
/* oklch */ color: oklch(52.6% 0.201 301.3);
Tailwind
colors: {
  custom: {
    50: '#ab7ada',
    500: '#8141c9',
    950: '#000000',
  },
}
SCSS
$custom: #8141c9;
$custom-light: #ab7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#8141c9",
  "rgb": {
    "r": 129,
    "g": 65,
    "b": 201
  },
  "hsl": {
    "h": 268.235,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52569,
    "c": 0.20102,
    "h": 301.3
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#8141C9
secondary
#B5D195
accent
#DF4998
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8141C9

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

Preview Lab → · Contrast checker → · Palette generator →

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