#8141D2#8141D2

#8141D2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.211 H 299.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8141D2
RGBrgb(129, 65, 210)
HSLhsl(266, 62%, 54%)
HSVhsv(266, 69%, 82%)
CMYKcmyk(38.6%, 69%, 0%, 17.6%)
CIE-LABlab(42.91, 55.70, -64.46)
CIE-LCHlch(42.91, 85.19, 310.83°)
OKLaboklab(53.25% 0.1031 -0.1839)
OKLCHoklch(53.25% 0.211 299.3)
XYZxyz(22.5735, 13.1006, 62.2997)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8141D2 #92D241
analogous
#414AD2 #8141D2 #CA41D2
triadic
#8141D2 #D28141 #41D281
tetradic
#8141D2 #D2414A #92D241 #41D2CA
square
#8141D2 #D2414A #92D241 #41D2CA
split-complementary
#8141D2 #D2CA41 #4AD241
monochromatic
#471D7B #6329AD #8141D2 #A272DE #C3A4E9

Accessibility & contrast

On white

5.80
#8141D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8141D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8141D2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8141D2#FFFFFF#000000##FFFFFF
##8141D21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#6E6485
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8141d2;
/* rgb */ color: rgb(129, 65, 210);
/* oklch */ color: oklch(53.2% 0.211 299.3);
Tailwind
colors: {
  custom: {
    50: '#ac7ae1',
    500: '#8141d2',
    950: '#000000',
  },
}
SCSS
$custom: #8141d2;
$custom-light: #ac7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#8141d2",
  "rgb": {
    "r": 129,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 266.483,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.21083,
    "h": 299.3
  },
  "luminance": 0.13101
}

Semantic roles & 50–950 ramp

primary
#8141D2
secondary
#BBD698
accent
#E5439D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8141D2

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

Preview Lab → · Contrast checker → · Palette generator →

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