#8145C5#8145C5

#8145C5 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.191 H 301.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8145C5
RGBrgb(129, 69, 197)
HSLhsl(268, 52%, 52%)
HSVhsv(268, 65%, 77%)
CMYKcmyk(34.5%, 65%, 0%, 22.7%)
CIE-LABlab(42.69, 50.51, -57.30)
CIE-LCHlch(42.69, 76.38, 311.39°)
OKLaboklab(52.8% 0.1005 -0.1629)
OKLCHoklch(52.8% 0.191 301.7)
XYZxyz(21.2570, 12.9545, 54.1931)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145C5 #89C545
analogous
#4549C5 #8145C5 #C145C5
triadic
#8145C5 #C58145 #45C581
tetradic
#8145C5 #C54549 #89C545 #45C5C1
square
#8145C5 #C54549 #89C545 #45C5C1
split-complementary
#8145C5 #C5C145 #49C545
monochromatic
#45226D #63319C #8145C5 #A174D4 #C0A2E2

Accessibility & contrast

On white

5.85
#8145C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8145C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145C5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145C5#FFFFFF#000000##FFFFFF
##8145C51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#0E64C2
Tritanopia (blue-blind)
#73617F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8145c5;
/* rgb */ color: rgb(129, 69, 197);
/* oklch */ color: oklch(52.8% 0.191 301.7);
Tailwind
colors: {
  custom: {
    50: '#aa7cd7',
    500: '#8145c5',
    950: '#000000',
  },
}
SCSS
$custom: #8145c5;
$custom-light: #aa7cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8145c5",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 268.125,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.19139,
    "h": 301.7
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#8145C5
secondary
#B5CF97
accent
#DC4C98
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8145C5

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

Preview Lab → · Contrast checker → · Palette generator →

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