#8145AF#8145AF

#8145AF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.167 H 307.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8145AF
RGBrgb(129, 69, 175)
HSLhsl(274, 43%, 48%)
HSVhsv(274, 61%, 69%)
CMYKcmyk(26.3%, 60.6%, 0%, 31.4%)
CIE-LABlab(41.25, 45.18, -46.74)
CIE-LCHlch(41.25, 65.01, 314.03°)
OKLaboklab(51.29% 0.1017 -0.1318)
OKLCHoklch(51.29% 0.167 307.6)
XYZxyz(18.9177, 12.0188, 41.8724)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145AF #73AF45
analogous
#4C45AF #8145AF #AF45A8
triadic
#8145AF #AF8145 #45AF81
tetradic
#8145AF #AF4C45 #73AF45 #45A8AF
square
#8145AF #AF4C45 #73AF45 #45A8AF
split-complementary
#8145AF #A8AF45 #45AF4C
monochromatic
#402257 #613483 #8145AF #9E6CC5 #BB98D6

Accessibility & contrast

On white

6.17
#8145AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8145AF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145AF#FFFFFF#000000##FFFFFF
##8145AF1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#3462AD
Tritanopia (blue-blind)
#7A5A73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8145af;
/* rgb */ color: rgb(129, 69, 175);
/* oklch */ color: oklch(51.3% 0.167 307.6);
Tailwind
colors: {
  custom: {
    50: '#a97cc7',
    500: '#8145af',
    950: '#000000',
  },
}
SCSS
$custom: #8145af;
$custom-light: #a97cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8145af",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 273.962,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.16651,
    "h": 307.6
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8145AF

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

Preview Lab → · Contrast checker → · Palette generator →

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