#8345E2#8345E2

#8345E2 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.224 H 296.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8345E2
RGBrgb(131, 69, 226)
HSLhsl(264, 73%, 58%)
HSVhsv(264, 69%, 89%)
CMYKcmyk(42%, 69.5%, 0%, 11.4%)
CIE-LABlab(45.04, 58.15, -70.14)
CIE-LCHlch(45.04, 91.11, 309.66°)
OKLaboklab(55.2% 0.0993 -0.2005)
OKLCHoklch(55.2% 0.224 296.3)
XYZxyz(25.2120, 14.5720, 73.4211)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345E2 #A4E245
analogous
#4556E2 #8345E2 #D145E2
triadic
#8345E2 #E28345 #45E283
tetradic
#8345E2 #E24556 #A4E245 #45E2D1
square
#8345E2 #E24556 #A4E245 #45E2D1
split-complementary
#8345E2 #E2D145 #56E245
monochromatic
#491795 #6320CA #8345E2 #A67AEA #CAAFF3

Accessibility & contrast

On white

5.36
#8345E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8345E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345E2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345E2#FFFFFF#000000##FFFFFF
##8345E21.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#6A6C8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8345e2;
/* rgb */ color: rgb(131, 69, 226);
/* oklch */ color: oklch(55.2% 0.224 296.3);
Tailwind
colors: {
  custom: {
    50: '#ae7dec',
    500: '#8345e2',
    950: '#000000',
  },
}
SCSS
$custom: #8345e2;
$custom-light: #ae7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#8345e2",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 263.694,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55195,
    "c": 0.22377,
    "h": 296.3
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#8345E2
secondary
#C8E1A2
accent
#F038A7
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8345E2

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

Preview Lab → · Contrast checker → · Palette generator →

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