#8142C2#8142C2

#8142C2 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.192 H 302.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8142C2
RGBrgb(129, 66, 194)
HSLhsl(270, 51%, 51%)
HSVhsv(270, 66%, 76%)
CMYKcmyk(33.5%, 66%, 0%, 23.9%)
CIE-LABlab(41.94, 51.28, -56.78)
CIE-LCHlch(41.94, 76.51, 312.08°)
OKLaboklab(52.18% 0.1042 -0.1613)
OKLCHoklch(52.18% 0.192 302.9)
XYZxyz(20.7368, 12.4586, 52.3407)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142C2 #83C242
analogous
#4243C2 #8142C2 #C142C2
triadic
#8142C2 #C28142 #42C281
tetradic
#8142C2 #C24243 #83C242 #42C2C1
square
#8142C2 #C24243 #83C242 #42C2C1
split-complementary
#8142C2 #C2C142 #43C242
monochromatic
#442268 #633196 #8142C2 #A070D1 #BF9FE0

Accessibility & contrast

On white

6.01
#8142C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8142C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142C2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142C2#FFFFFF#000000##FFFFFF
##8142C21.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0E63BF
Tritanopia (blue-blind)
#745E7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8142c2;
/* rgb */ color: rgb(129, 66, 194);
/* oklch */ color: oklch(52.2% 0.192 302.9);
Tailwind
colors: {
  custom: {
    50: '#aa7ad5',
    500: '#8142c2',
    950: '#000000',
  },
}
SCSS
$custom: #8142c2;
$custom-light: #aa7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#8142c2",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 269.531,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.19204,
    "h": 302.9
  },
  "luminance": 0.12459
}

Semantic roles & 50–950 ramp

primary
#8142C2
secondary
#B0CC94
accent
#DB4D95
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8142C2

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

Preview Lab → · Contrast checker → · Palette generator →

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