#8345C3#8345C3

#8345C3 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.190 H 303.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8345C3
RGBrgb(131, 69, 195)
HSLhsl(270, 51%, 52%)
HSVhsv(270, 65%, 76%)
CMYKcmyk(32.8%, 64.6%, 0%, 23.5%)
CIE-LABlab(42.80, 50.45, -55.96)
CIE-LCHlch(42.80, 75.34, 312.03°)
OKLaboklab(52.88% 0.1034 -0.1589)
OKLCHoklch(52.88% 0.19 303.1)
XYZxyz(21.3362, 13.0217, 53.0086)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345C3 #85C345
analogous
#4546C3 #8345C3 #C245C3
triadic
#8345C3 #C38345 #45C383
tetradic
#8345C3 #C34546 #85C345 #45C3C2
square
#8345C3 #C34546 #85C345 #45C3C2
split-complementary
#8345C3 #C3C245 #46C345
monochromatic
#46236B #653199 #8345C3 #A273D2 #C1A2E1

Accessibility & contrast

On white

5.83
#8345C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8345C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345C3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345C3#FFFFFF#000000##FFFFFF
##8345C31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#1A65C0
Tritanopia (blue-blind)
#77607E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8345c3;
/* rgb */ color: rgb(131, 69, 195);
/* oklch */ color: oklch(52.9% 0.190 303.1);
Tailwind
colors: {
  custom: {
    50: '#ac7cd6',
    500: '#8345c3',
    950: '#000000',
  },
}
SCSS
$custom: #8345c3;
$custom-light: #ac7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8345c3",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 269.524,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52879,
    "c": 0.18955,
    "h": 303.1
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#8345C3
secondary
#B2CE96
accent
#DB4D95
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8345C3

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

Preview Lab → · Contrast checker → · Palette generator →

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