#8345BF#8345BF

#8345BF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.6% C 0.185 H 304.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8345BF
RGBrgb(131, 69, 191)
HSLhsl(270, 49%, 51%)
HSVhsv(270, 64%, 75%)
CMYKcmyk(31.4%, 63.9%, 0%, 25.1%)
CIE-LABlab(42.53, 49.48, -54.07)
CIE-LCHlch(42.53, 73.29, 312.46°)
OKLaboklab(52.6% 0.1037 -0.1533)
OKLCHoklch(52.6% 0.185 304.1)
XYZxyz(20.8900, 12.8432, 50.6586)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345BF #81BF45
analogous
#4645BF #8345BF #BF45BE
triadic
#8345BF #BF8345 #45BF83
tetradic
#8345BF #BF4645 #81BF45 #45BEBF
square
#8345BF #BF4645 #81BF45 #45BEBF
split-complementary
#8345BF #BEBF45 #45BF46
monochromatic
#452366 #643394 #8345BF #A173CF #C0A0DE

Accessibility & contrast

On white

5.88
#8345BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8345BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345BF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345BF#FFFFFF#000000##FFFFFF
##8345BF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#785F7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8345bf;
/* rgb */ color: rgb(131, 69, 191);
/* oklch */ color: oklch(52.6% 0.185 304.1);
Tailwind
colors: {
  custom: {
    50: '#ab7cd3',
    500: '#8345bf',
    950: '#000000',
  },
}
SCSS
$custom: #8345bf;
$custom-light: #ab7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8345bf",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 270.492,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.18508,
    "h": 304.1
  },
  "luminance": 0.12843
}

Semantic roles & 50–950 ramp

primary
#8345BF
secondary
#AFCB95
accent
#D84F93
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8345BF

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

Preview Lab → · Contrast checker → · Palette generator →

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