#8345B7#8345B7

#8345B7 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.176 H 306.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8345B7
RGBrgb(131, 69, 183)
HSLhsl(273, 45%, 49%)
HSVhsv(273, 62%, 72%)
CMYKcmyk(28.4%, 62.3%, 0%, 28.2%)
CIE-LABlab(42.00, 47.56, -50.23)
CIE-LCHlch(42.00, 69.17, 313.43°)
OKLaboklab(52.05% 0.1042 -0.142)
OKLCHoklch(52.05% 0.176 306.3)
XYZxyz(20.0336, 12.5006, 46.1480)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345B7 #79B745
analogous
#4A45B7 #8345B7 #B745B2
triadic
#8345B7 #B78345 #45B783
tetradic
#8345B7 #B74A45 #79B745 #45B2B7
square
#8345B7 #B74A45 #79B745 #45B2B7
split-complementary
#8345B7 #B2B745 #45B74A
monochromatic
#43235E #63348B #8345B7 #A170C9 #BE9DDA

Accessibility & contrast

On white

6.00
#8345B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8345B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345B7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345B7#FFFFFF#000000##FFFFFF
##8345B71.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0161BB
Deuteranopia (green-blind)
#2D63B4
Tritanopia (blue-blind)
#7A5C77
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8345b7;
/* rgb */ color: rgb(131, 69, 183);
/* oklch */ color: oklch(52.1% 0.176 306.3);
Tailwind
colors: {
  custom: {
    50: '#ab7ccd',
    500: '#8345b7',
    950: '#000000',
  },
}
SCSS
$custom: #8345b7;
$custom-light: #ab7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#8345b7",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 272.632,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.17612,
    "h": 306.3
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#8345B7
secondary
#AAC692
accent
#D5538E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8345B7

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

Preview Lab → · Contrast checker → · Palette generator →

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