#8145AC#8145AC

#8145AC is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.163 H 308.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8145AC
RGBrgb(129, 69, 172)
HSLhsl(275, 43%, 47%)
HSVhsv(275, 60%, 67%)
CMYKcmyk(25%, 59.9%, 0%, 32.5%)
CIE-LABlab(41.06, 44.47, -45.26)
CIE-LCHlch(41.06, 63.46, 314.50°)
OKLaboklab(51.09% 0.1017 -0.1275)
OKLCHoklch(51.09% 0.163 308.6)
XYZxyz(18.6263, 11.9022, 40.3378)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145AC #70AC45
analogous
#4D45AC #8145AC #AC45A4
triadic
#8145AC #AC8145 #45AC81
tetradic
#8145AC #AC4D45 #70AC45 #45A4AC
square
#8145AC #AC4D45 #70AC45 #45A4AC
split-complementary
#8145AC #A4AC45 #45AC4D
monochromatic
#3F2255 #603380 #8145AC #9E6BC4 #BB96D5

Accessibility & contrast

On white

6.21
#8145AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8145AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145AC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145AC#FFFFFF#000000##FFFFFF
##8145AC1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5EAF
Deuteranopia (green-blind)
#3762AA
Tritanopia (blue-blind)
#7B5972
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8145ac;
/* rgb */ color: rgb(129, 69, 172);
/* oklch */ color: oklch(51.1% 0.163 308.6);
Tailwind
colors: {
  custom: {
    50: '#a97cc5',
    500: '#8145ac',
    950: '#000000',
  },
}
SCSS
$custom: #8145ac;
$custom-light: #a97cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8145ac",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 274.951,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.16312,
    "h": 308.6
  },
  "luminance": 0.11902
}

Semantic roles & 50–950 ramp

primary
#8145AC
secondary
#A2C18C
accent
#D3558A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8145AC

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

Preview Lab → · Contrast checker → · Palette generator →

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