#8142C1#8142C1

#8142C1 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.191 H 303.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8142C1
RGBrgb(129, 66, 193)
HSLhsl(270, 51%, 51%)
HSVhsv(270, 66%, 76%)
CMYKcmyk(33.2%, 65.8%, 0%, 24.3%)
CIE-LABlab(41.87, 51.04, -56.31)
CIE-LCHlch(41.87, 76.00, 312.19°)
OKLaboklab(52.11% 0.1043 -0.1599)
OKLCHoklch(52.11% 0.191 303.1)
XYZxyz(20.6249, 12.4138, 51.7513)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142C1 #82C142
analogous
#4242C1 #8142C1 #C142C1
triadic
#8142C1 #C18142 #42C181
tetradic
#8142C1 #C14242 #82C142 #42C1C1
square
#8142C1 #C14242 #82C142 #42C1C1
split-complementary
#8142C1 #C1C142 #42C142
monochromatic
#442267 #633195 #8142C1 #A070D0 #BE9EDF

Accessibility & contrast

On white

6.03
#8142C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8142C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142C1
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142C1#FFFFFF#000000##FFFFFF
##8142C11.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#1262BE
Tritanopia (blue-blind)
#745E7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8142c1;
/* rgb */ color: rgb(129, 66, 193);
/* oklch */ color: oklch(52.1% 0.191 303.1);
Tailwind
colors: {
  custom: {
    50: '#aa7ad4',
    500: '#8142c1',
    950: '#000000',
  },
}
SCSS
$custom: #8142c1;
$custom-light: #aa7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#8142c1",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 269.764,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52112,
    "c": 0.19093,
    "h": 303.1
  },
  "luminance": 0.12414
}

Semantic roles & 50–950 ramp

primary
#8142C1
secondary
#B0CC93
accent
#DA4E94
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8142C1

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

Preview Lab → · Contrast checker → · Palette generator →

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