#8345E6#8345E6

#8345E6 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.228 H 295.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8345E6
RGBrgb(131, 69, 230)
HSLhsl(263, 76%, 59%)
HSVhsv(263, 70%, 90%)
CMYKcmyk(43%, 70%, 0%, 9.8%)
CIE-LABlab(45.35, 59.16, -71.90)
CIE-LCHlch(45.35, 93.11, 309.45°)
OKLaboklab(55.51% 0.0986 -0.2057)
OKLCHoklch(55.51% 0.228 295.6)
XYZxyz(25.7673, 14.7941, 76.3455)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345E6 #A8E645
analogous
#4557E6 #8345E6 #D445E6
triadic
#8345E6 #E68345 #45E683
tetradic
#8345E6 #E64557 #A8E645 #45E6D4
square
#8345E6 #E64557 #A8E645 #45E6D4
split-complementary
#8345E6 #E6D445 #57E645
monochromatic
#49159C #621CD2 #8345E6 #A77BED #CBB1F5

Accessibility & contrast

On white

5.30
#8345E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8345E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345E6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345E6#FFFFFF#000000##FFFFFF
##8345E61.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0069E3
Tritanopia (blue-blind)
#686D91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8345e6;
/* rgb */ color: rgb(131, 69, 230);
/* oklch */ color: oklch(55.5% 0.228 295.6);
Tailwind
colors: {
  custom: {
    50: '#af7def',
    500: '#8345e6',
    950: '#000000',
  },
}
SCSS
$custom: #8345e6;
$custom-light: #af7def;
$custom-dark: #000000;
JSON
{
  "hex": "#8345e6",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 263.106,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55511,
    "c": 0.22812,
    "h": 295.6
  },
  "luminance": 0.14795
}

Semantic roles & 50–950 ramp

primary
#8345E6
secondary
#CBE3A4
accent
#F335AA
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #8345E6

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

Preview Lab → · Contrast checker → · Palette generator →

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