#8141CC#8141CC

#8141CC is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.204 H 300.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8141CC
RGBrgb(129, 65, 204)
HSLhsl(268, 58%, 53%)
HSVhsv(268, 68%, 80%)
CMYKcmyk(36.8%, 68.1%, 0%, 20%)
CIE-LABlab(42.47, 54.22, -61.72)
CIE-LCHlch(42.47, 82.15, 311.30°)
OKLaboklab(52.79% 0.104 -0.1758)
OKLCHoklch(52.79% 0.204 300.6)
XYZxyz(21.8400, 12.8072, 58.4364)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8141CC #8CCC41
analogous
#4146CC #8141CC #C641CC
triadic
#8141CC #CC8141 #41CC81
tetradic
#8141CC #CC4146 #8CCC41 #41CCC6
square
#8141CC #CC4146 #8CCC41 #41CCC6
split-complementary
#8141CC #CCC641 #46CC41
monochromatic
#461F74 #632CA4 #8141CC #A171D9 #C1A1E6

Accessibility & contrast

On white

5.90
#8141CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8141CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8141CC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8141CC#FFFFFF#000000##FFFFFF
##8141CC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#716281
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8141cc;
/* rgb */ color: rgb(129, 65, 204);
/* oklch */ color: oklch(52.8% 0.204 300.6);
Tailwind
colors: {
  custom: {
    50: '#ab7adc',
    500: '#8141cc',
    950: '#000000',
  },
}
SCSS
$custom: #8141cc;
$custom-light: #ab7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8141cc",
  "rgb": {
    "r": 129,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 267.626,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52794,
    "c": 0.2043,
    "h": 300.6
  },
  "luminance": 0.12807
}

Semantic roles & 50–950 ramp

primary
#8141CC
secondary
#B7D396
accent
#E1479A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8141CC

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

Preview Lab → · Contrast checker → · Palette generator →

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