#8145C7#8145C7

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

Color values

HEX#8145C7
RGBrgb(129, 69, 199)
HSLhsl(268, 54%, 53%)
HSVhsv(268, 65%, 78%)
CMYKcmyk(35.2%, 65.3%, 0%, 22%)
CIE-LABlab(42.83, 51.00, -58.24)
CIE-LCHlch(42.83, 77.41, 311.21°)
OKLaboklab(52.94% 0.1003 -0.1656)
OKLCHoklch(52.94% 0.194 301.2)
XYZxyz(21.4877, 13.0468, 55.4080)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145C7 #8BC745
analogous
#454AC7 #8145C7 #C245C7
triadic
#8145C7 #C78145 #45C781
tetradic
#8145C7 #C7454A #8BC745 #45C7C2
square
#8145C7 #C7454A #8BC745 #45C7C2
split-complementary
#8145C7 #C7C245 #4AC745
monochromatic
#462270 #63309F #8145C7 #A174D5 #C1A3E3

Accessibility & contrast

On white

5.82
#8145C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8145C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145C7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145C7#FFFFFF#000000##FFFFFF
##8145C71.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#0564C4
Tritanopia (blue-blind)
#726280
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8145c7;
/* rgb */ color: rgb(129, 69, 199);
/* oklch */ color: oklch(52.9% 0.194 301.2);
Tailwind
colors: {
  custom: {
    50: '#ab7cd9',
    500: '#8145c7',
    950: '#000000',
  },
}
SCSS
$custom: #8145c7;
$custom-light: #ab7cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8145c7",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 267.692,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52941,
    "c": 0.19364,
    "h": 301.2
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#8145C7
secondary
#B6D098
accent
#DD4B9A
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8145C7

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

Preview Lab → · Contrast checker → · Palette generator →

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