#8145AE#8145AE

#8145AE is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.165 H 308.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8145AE
RGBrgb(129, 69, 174)
HSLhsl(274, 43%, 48%)
HSVhsv(274, 60%, 68%)
CMYKcmyk(25.9%, 60.3%, 0%, 31.8%)
CIE-LABlab(41.18, 44.95, -46.25)
CIE-LCHlch(41.18, 64.49, 314.18°)
OKLaboklab(51.22% 0.1017 -0.1304)
OKLCHoklch(51.22% 0.165 308)
XYZxyz(18.8198, 11.9796, 41.3571)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145AE #72AE45
analogous
#4D45AE #8145AE #AE45A6
triadic
#8145AE #AE8145 #45AE81
tetradic
#8145AE #AE4D45 #72AE45 #45A6AE
square
#8145AE #AE4D45 #72AE45 #45A6AE
split-complementary
#8145AE #A6AE45 #45AE4D
monochromatic
#402256 #613482 #8145AE #9E6CC5 #BB97D6

Accessibility & contrast

On white

6.18
#8145AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8145AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145AE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145AE#FFFFFF#000000##FFFFFF
##8145AE1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB1
Deuteranopia (green-blind)
#3562AC
Tritanopia (blue-blind)
#7A5973
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8145ae;
/* rgb */ color: rgb(129, 69, 174);
/* oklch */ color: oklch(51.2% 0.165 308.0);
Tailwind
colors: {
  custom: {
    50: '#a97cc7',
    500: '#8145ae',
    950: '#000000',
  },
}
SCSS
$custom: #8145ae;
$custom-light: #a97cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8145ae",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 274.286,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5122,
    "c": 0.16538,
    "h": 308
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#8145AE
secondary
#A4C28D
accent
#D3558B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8145AE

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

Preview Lab → · Contrast checker → · Palette generator →

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