#8345B8#8345B8

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

Color values

HEX#8345B8
RGBrgb(131, 69, 184)
HSLhsl(272, 45%, 50%)
HSVhsv(272, 63%, 72%)
CMYKcmyk(28.8%, 62.5%, 0%, 27.8%)
CIE-LABlab(42.07, 47.80, -50.71)
CIE-LCHlch(42.07, 69.69, 313.30°)
OKLaboklab(52.12% 0.1041 -0.1434)
OKLCHoklch(52.12% 0.177 306)
XYZxyz(20.1381, 12.5424, 46.6981)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345B8 #7AB845
analogous
#4A45B8 #8345B8 #B845B4
triadic
#8345B8 #B88345 #45B883
tetradic
#8345B8 #B84A45 #7AB845 #45B4B8
square
#8345B8 #B84A45 #7AB845 #45B4B8
split-complementary
#8345B8 #B4B845 #45B84A
monochromatic
#44245F #63348B #8345B8 #A171CA #BE9DDA

Accessibility & contrast

On white

5.99
#8345B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8345B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345B8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345B8#FFFFFF#000000##FFFFFF
##8345B81.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#2C64B5
Tritanopia (blue-blind)
#7A5D78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8345b8;
/* rgb */ color: rgb(131, 69, 184);
/* oklch */ color: oklch(52.1% 0.177 306.0);
Tailwind
colors: {
  custom: {
    50: '#ab7cce',
    500: '#8345b8',
    950: '#000000',
  },
}
SCSS
$custom: #8345b8;
$custom-light: #ab7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#8345b8",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 272.348,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.17724,
    "h": 306
  },
  "luminance": 0.12542
}

Semantic roles & 50–950 ramp

primary
#8345B8
secondary
#AAC792
accent
#D5538F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8345B8

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

Preview Lab → · Contrast checker → · Palette generator →

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