#8045BF#8045BF

#8045BF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.184 H 302.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8045BF
RGBrgb(128, 69, 191)
HSLhsl(269, 49%, 51%)
HSVhsv(269, 64%, 75%)
CMYKcmyk(33%, 63.9%, 0%, 25.1%)
CIE-LABlab(42.16, 48.81, -54.67)
CIE-LCHlch(42.16, 73.29, 311.76°)
OKLaboklab(52.26% 0.0997 -0.1551)
OKLCHoklch(52.26% 0.184 302.7)
XYZxyz(20.4320, 12.6070, 50.6371)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8045BF #84BF45
analogous
#4547BF #8045BF #BD45BF
triadic
#8045BF #BF8045 #45BF80
tetradic
#8045BF #BF4547 #84BF45 #45BFBD
square
#8045BF #BF4547 #84BF45 #45BFBD
split-complementary
#8045BF #BFBD45 #47BF45
monochromatic
#442366 #623394 #8045BF #9F73CF #BEA0DE

Accessibility & contrast

On white

5.96
#8045BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8045BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8045BF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8045BF#FFFFFF#000000##FFFFFF
##8045BF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#1C63BC
Tritanopia (blue-blind)
#745F7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8045bf;
/* rgb */ color: rgb(128, 69, 191);
/* oklch */ color: oklch(52.3% 0.184 302.7);
Tailwind
colors: {
  custom: {
    50: '#a97cd3',
    500: '#8045bf',
    950: '#000000',
  },
}
SCSS
$custom: #8045bf;
$custom-light: #a97cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8045bf",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 269.016,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52258,
    "c": 0.18442,
    "h": 302.7
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#8045BF
secondary
#B1CB95
accent
#D84F96
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8045BF

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

Preview Lab → · Contrast checker → · Palette generator →

#8045BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva