#8145C2#8145C2

#8145C2 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.6% C 0.188 H 302.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8145C2
RGBrgb(129, 69, 194)
HSLhsl(269, 51%, 52%)
HSVhsv(269, 64%, 76%)
CMYKcmyk(33.5%, 64.4%, 0%, 23.9%)
CIE-LABlab(42.49, 49.77, -55.89)
CIE-LCHlch(42.49, 74.84, 311.68°)
OKLaboklab(52.58% 0.1008 -0.1587)
OKLCHoklch(52.58% 0.188 302.4)
XYZxyz(20.9167, 12.8184, 52.4007)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145C2 #86C245
analogous
#4548C2 #8145C2 #C045C2
triadic
#8145C2 #C28145 #45C281
tetradic
#8145C2 #C24548 #86C245 #45C2C0
square
#8145C2 #C24548 #86C245 #45C2C0
split-complementary
#8145C2 #C2C045 #48C245
monochromatic
#45236A #633298 #8145C2 #A073D1 #BFA1E0

Accessibility & contrast

On white

5.89
#8145C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8145C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145C2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145C2#FFFFFF#000000##FFFFFF
##8145C21.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#1864BF
Tritanopia (blue-blind)
#74607D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8145c2;
/* rgb */ color: rgb(129, 69, 194);
/* oklch */ color: oklch(52.6% 0.188 302.4);
Tailwind
colors: {
  custom: {
    50: '#aa7cd5',
    500: '#8145c2',
    950: '#000000',
  },
}
SCSS
$custom: #8145c2;
$custom-light: #aa7cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8145c2",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 268.8,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52582,
    "c": 0.18801,
    "h": 302.4
  },
  "luminance": 0.12818
}

Semantic roles & 50–950 ramp

primary
#8145C2
secondary
#B3CD96
accent
#DA4E97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8145C2

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

Preview Lab → · Contrast checker → · Palette generator →

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