#8145C8#8145C8

#8145C8 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.0% C 0.195 H 301.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8145C8
RGBrgb(129, 69, 200)
HSLhsl(267, 54%, 53%)
HSVhsv(267, 66%, 78%)
CMYKcmyk(35.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(42.90, 51.25, -58.70)
CIE-LCHlch(42.90, 77.93, 311.12°)
OKLaboklab(53.01% 0.1002 -0.167)
OKLCHoklch(53.01% 0.195 301)
XYZxyz(21.6042, 13.0934, 56.0215)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145C8 #8CC845
analogous
#454AC8 #8145C8 #C345C8
triadic
#8145C8 #C88145 #45C881
tetradic
#8145C8 #C8454A #8CC845 #45C8C3
square
#8145C8 #C8454A #8CC845 #45C8C3
split-complementary
#8145C8 #C8C345 #4AC845
monochromatic
#462171 #632FA0 #8145C8 #A174D6 #C1A3E4

Accessibility & contrast

On white

5.80
#8145C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8145C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145C8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145C8#FFFFFF#000000##FFFFFF
##8145C81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0165C5
Tritanopia (blue-blind)
#726281
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8145c8;
/* rgb */ color: rgb(129, 69, 200);
/* oklch */ color: oklch(53.0% 0.195 301.0);
Tailwind
colors: {
  custom: {
    50: '#ab7cd9',
    500: '#8145c8',
    950: '#000000',
  },
}
SCSS
$custom: #8145c8;
$custom-light: #ab7cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8145c8",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 267.481,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53013,
    "c": 0.19476,
    "h": 301
  },
  "luminance": 0.13094
}

Semantic roles & 50–950 ramp

primary
#8145C8
secondary
#B7D198
accent
#DE4A9A
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8145C8

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

Preview Lab → · Contrast checker → · Palette generator →

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