#8345A2#8345A2

#8345A2 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.7% C 0.153 H 313.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8345A2
RGBrgb(131, 69, 162)
HSLhsl(280, 40%, 45%)
HSVhsv(280, 57%, 64%)
CMYKcmyk(19.1%, 57.4%, 0%, 36.5%)
CIE-LABlab(40.72, 42.69, -39.84)
CIE-LCHlch(40.72, 58.39, 316.98°)
OKLaboklab(50.71% 0.1041 -0.1116)
OKLCHoklch(50.71% 0.153 313)
XYZxyz(18.0087, 11.6906, 35.4833)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345A2 #64A245
analogous
#5445A2 #8345A2 #A24592
triadic
#8345A2 #A28345 #45A283
tetradic
#8345A2 #A25445 #64A245 #4592A2
square
#8345A2 #A25445 #64A245 #4592A2
split-complementary
#8345A2 #92A245 #45A254
monochromatic
#3E204C #603377 #8345A2 #A166BE #BB91D0

Accessibility & contrast

On white

6.29
#8345A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8345A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345A2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345A2#FFFFFF#000000##FFFFFF
##8345A21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#4161A0
Tritanopia (blue-blind)
#80556D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8345a2;
/* rgb */ color: rgb(131, 69, 162);
/* oklch */ color: oklch(50.7% 0.153 313.0);
Tailwind
colors: {
  custom: {
    50: '#a97cbe',
    500: '#8345a2',
    950: '#000000',
  },
}
SCSS
$custom: #8345a2;
$custom-light: #a97cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8345a2",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 280,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50705,
    "c": 0.1526,
    "h": 313
  },
  "luminance": 0.1169
}

Semantic roles & 50–950 ramp

primary
#8345A2
secondary
#99BC87
accent
#D05880
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #8345A2

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

Preview Lab → · Contrast checker → · Palette generator →

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