#8345BA#8345BA

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

Color values

HEX#8345BA
RGBrgb(131, 69, 186)
HSLhsl(272, 46%, 50%)
HSVhsv(272, 63%, 73%)
CMYKcmyk(29.6%, 62.9%, 0%, 27.1%)
CIE-LABlab(42.20, 48.27, -51.68)
CIE-LCHlch(42.20, 70.72, 313.05°)
OKLaboklab(52.25% 0.104 -0.1463)
OKLCHoklch(52.25% 0.179 305.4)
XYZxyz(20.3492, 12.6269, 47.8101)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345BA #7CBA45
analogous
#4945BA #8345BA #BA45B6
triadic
#8345BA #BA8345 #45BA83
tetradic
#8345BA #BA4945 #7CBA45 #45B6BA
square
#8345BA #BA4945 #7CBA45 #45B6BA
split-complementary
#8345BA #B6BA45 #45BA49
monochromatic
#442461 #64348D #8345BA #A172CB #BF9EDB

Accessibility & contrast

On white

5.96
#8345BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8345BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345BA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345BA#FFFFFF#000000##FFFFFF
##8345BA1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#2964B7
Tritanopia (blue-blind)
#795D79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8345ba;
/* rgb */ color: rgb(131, 69, 186);
/* oklch */ color: oklch(52.3% 0.179 305.4);
Tailwind
colors: {
  custom: {
    50: '#ab7ccf',
    500: '#8345ba',
    950: '#000000',
  },
}
SCSS
$custom: #8345ba;
$custom-light: #ab7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8345ba",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 271.795,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.52254,
    "c": 0.17948,
    "h": 305.4
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

primary
#8345BA
secondary
#ACC893
accent
#D65290
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8345BA

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

Preview Lab → · Contrast checker → · Palette generator →

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