#8345C9#8345C9

#8345C9 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.3% C 0.196 H 301.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8345C9
RGBrgb(131, 69, 201)
HSLhsl(268, 55%, 53%)
HSVhsv(268, 66%, 79%)
CMYKcmyk(34.8%, 65.7%, 0%, 21.2%)
CIE-LABlab(43.21, 51.91, -58.78)
CIE-LCHlch(43.21, 78.42, 311.45°)
OKLaboklab(53.31% 0.1028 -0.1671)
OKLCHoklch(53.31% 0.196 301.6)
XYZxyz(22.0283, 13.2985, 56.6534)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345C9 #8BC945
analogous
#4549C9 #8345C9 #C545C9
triadic
#8345C9 #C98345 #45C983
tetradic
#8345C9 #C94549 #8BC945 #45C9C5
square
#8345C9 #C94549 #8BC945 #45C9C5
split-complementary
#8345C9 #C9C545 #49C945
monochromatic
#472172 #652FA2 #8345C9 #A374D7 #C2A4E5

Accessibility & contrast

On white

5.74
#8345C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8345C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345C9
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345C9#FFFFFF#000000##FFFFFF
##8345C91.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#0565C6
Tritanopia (blue-blind)
#746381
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8345c9;
/* rgb */ color: rgb(131, 69, 201);
/* oklch */ color: oklch(53.3% 0.196 301.6);
Tailwind
colors: {
  custom: {
    50: '#ac7dda',
    500: '#8345c9',
    950: '#000000',
  },
}
SCSS
$custom: #8345c9;
$custom-light: #ac7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#8345c9",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 268.182,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53308,
    "c": 0.19624,
    "h": 301.6
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

primary
#8345C9
secondary
#B7D198
accent
#DE4998
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8345C9

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

Preview Lab → · Contrast checker → · Palette generator →

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