#8145BC#8145BC

#8145BC is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.181 H 304.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8145BC
RGBrgb(129, 69, 188)
HSLhsl(270, 47%, 50%)
HSVhsv(270, 63%, 74%)
CMYKcmyk(31.4%, 63.3%, 0%, 26.3%)
CIE-LABlab(42.08, 48.30, -53.04)
CIE-LCHlch(42.08, 71.74, 312.32°)
OKLaboklab(52.16% 0.1012 -0.1503)
OKLCHoklch(52.16% 0.181 304)
XYZxyz(20.2564, 12.5543, 48.9233)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145BC #80BC45
analogous
#4545BC #8145BC #BC45BC
triadic
#8145BC #BC8145 #45BC81
tetradic
#8145BC #BC4545 #80BC45 #45BCBC
square
#8145BC #BC4545 #80BC45 #45BCBC
split-complementary
#8145BC #BCBC45 #45BC45
monochromatic
#442463 #623490 #8145BC #9F72CC #BE9FDC

Accessibility & contrast

On white

5.98
#8145BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8145BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145BC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145BC#FFFFFF#000000##FFFFFF
##8145BC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#2363B9
Tritanopia (blue-blind)
#765E7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8145bc;
/* rgb */ color: rgb(129, 69, 188);
/* oklch */ color: oklch(52.2% 0.181 304.0);
Tailwind
colors: {
  custom: {
    50: '#aa7cd1',
    500: '#8145bc',
    950: '#000000',
  },
}
SCSS
$custom: #8145bc;
$custom-light: #aa7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8145bc",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 270.252,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52161,
    "c": 0.18124,
    "h": 304
  },
  "luminance": 0.12554
}

Semantic roles & 50–950 ramp

primary
#8145BC
secondary
#AEC994
accent
#D75193
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8145BC

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

Preview Lab → · Contrast checker → · Palette generator →

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