#8345B2#8345B2

#8345B2 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.171 H 307.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8345B2
RGBrgb(131, 69, 178)
HSLhsl(274, 44%, 48%)
HSVhsv(274, 61%, 70%)
CMYKcmyk(26.4%, 61.2%, 0%, 30.2%)
CIE-LABlab(41.68, 46.38, -47.80)
CIE-LCHlch(41.68, 66.60, 314.13°)
OKLaboklab(51.72% 0.1043 -0.1349)
OKLCHoklch(51.72% 0.171 307.7)
XYZxyz(19.5224, 12.2961, 43.4558)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345B2 #74B245
analogous
#4C45B2 #8345B2 #B245AA
triadic
#8345B2 #B28345 #45B283
tetradic
#8345B2 #B24C45 #74B245 #45AAB2
square
#8345B2 #B24C45 #74B245 #45AAB2
split-complementary
#8345B2 #AAB245 #45B24C
monochromatic
#42235A #633486 #8345B2 #A06EC7 #BD9AD8

Accessibility & contrast

On white

6.07
#8345B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8345B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345B2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345B2#FFFFFF#000000##FFFFFF
##8345B21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1260B5
Deuteranopia (green-blind)
#3363AF
Tritanopia (blue-blind)
#7C5A75
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8345b2;
/* rgb */ color: rgb(131, 69, 178);
/* oklch */ color: oklch(51.7% 0.171 307.7);
Tailwind
colors: {
  custom: {
    50: '#aa7cca',
    500: '#8345b2',
    950: '#000000',
  },
}
SCSS
$custom: #8345b2;
$custom-light: #aa7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#8345b2",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 274.128,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.1705,
    "h": 307.7
  },
  "luminance": 0.12296
}

Semantic roles & 50–950 ramp

primary
#8345B2
secondary
#A6C48F
accent
#D4548B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8345B2

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

Preview Lab → · Contrast checker → · Palette generator →

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