#8142C3#8142C3

#8142C3 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.3% C 0.193 H 302.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8142C3
RGBrgb(129, 66, 195)
HSLhsl(269, 52%, 51%)
HSVhsv(269, 66%, 76%)
CMYKcmyk(33.8%, 66.2%, 0%, 23.5%)
CIE-LABlab(42.01, 51.52, -57.25)
CIE-LCHlch(42.01, 77.02, 311.99°)
OKLaboklab(52.26% 0.1041 -0.1627)
OKLCHoklch(52.26% 0.193 302.6)
XYZxyz(20.8495, 12.5037, 52.9342)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142C3 #84C342
analogous
#4243C3 #8142C3 #C142C3
triadic
#8142C3 #C38142 #42C381
tetradic
#8142C3 #C34243 #84C342 #42C3C1
square
#8142C3 #C34243 #84C342 #42C3C1
split-complementary
#8142C3 #C3C142 #43C342
monochromatic
#442169 #633098 #8142C3 #A070D2 #BF9FE0

Accessibility & contrast

On white

6.00
#8142C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8142C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142C3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142C3#FFFFFF#000000##FFFFFF
##8142C31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0A63C0
Tritanopia (blue-blind)
#745F7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8142c3;
/* rgb */ color: rgb(129, 66, 195);
/* oklch */ color: oklch(52.3% 0.193 302.6);
Tailwind
colors: {
  custom: {
    50: '#aa7ad6',
    500: '#8142c3',
    950: '#000000',
  },
}
SCSS
$custom: #8142c3;
$custom-light: #aa7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#8142c3",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 269.302,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.19314,
    "h": 302.6
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#8142C3
secondary
#B1CD94
accent
#DB4D96
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8142C3

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

Preview Lab → · Contrast checker → · Palette generator →

#8142C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva