#8145C6#8145C6

#8145C6 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.193 H 301.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8145C6
RGBrgb(129, 69, 198)
HSLhsl(268, 53%, 52%)
HSVhsv(268, 65%, 78%)
CMYKcmyk(34.8%, 65.2%, 0%, 22.4%)
CIE-LABlab(42.76, 50.75, -57.77)
CIE-LCHlch(42.76, 76.90, 311.30°)
OKLaboklab(52.87% 0.1004 -0.1642)
OKLCHoklch(52.87% 0.193 301.4)
XYZxyz(21.3720, 13.0005, 54.7985)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145C6 #8AC645
analogous
#454AC6 #8145C6 #C145C6
triadic
#8145C6 #C68145 #45C681
tetradic
#8145C6 #C6454A #8AC645 #45C6C1
square
#8145C6 #C6454A #8AC645 #45C6C1
split-complementary
#8145C6 #C6C145 #4AC645
monochromatic
#46226F #63309E #8145C6 #A174D4 #C0A3E3

Accessibility & contrast

On white

5.83
#8145C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8145C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145C6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145C6#FFFFFF#000000##FFFFFF
##8145C61.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#0A64C3
Tritanopia (blue-blind)
#73627F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8145c6;
/* rgb */ color: rgb(129, 69, 198);
/* oklch */ color: oklch(52.9% 0.193 301.4);
Tailwind
colors: {
  custom: {
    50: '#aa7cd8',
    500: '#8145c6',
    950: '#000000',
  },
}
SCSS
$custom: #8145c6;
$custom-light: #aa7cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8145c6",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 267.907,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.19251,
    "h": 301.4
  },
  "luminance": 0.13001
}

Semantic roles & 50–950 ramp

primary
#8145C6
secondary
#B5CF97
accent
#DC4B99
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #8145C6

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

Preview Lab → · Contrast checker → · Palette generator →

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