#8345D8#8345D8

#8345D8 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.4% C 0.213 H 298.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8345D8
RGBrgb(131, 69, 216)
HSLhsl(265, 65%, 56%)
HSVhsv(265, 68%, 85%)
CMYKcmyk(39.4%, 68.1%, 0%, 15.3%)
CIE-LABlab(44.29, 55.63, -65.66)
CIE-LCHlch(44.29, 86.06, 310.28°)
OKLaboklab(54.42% 0.1009 -0.1874)
OKLCHoklch(54.42% 0.213 298.3)
XYZxyz(23.8797, 14.0391, 66.4041)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345D8 #9AD845
analogous
#4550D8 #8345D8 #CC45D8
triadic
#8345D8 #D88345 #45D883
tetradic
#8345D8 #D84550 #9AD845 #45D8CC
square
#8345D8 #D84550 #9AD845 #45D8CC
split-complementary
#8345D8 #D8CC45 #50D845
monochromatic
#491C86 #6427B9 #8345D8 #A578E3 #C6AAED

Accessibility & contrast

On white

5.51
#8345D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8345D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345D8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345D8#FFFFFF#000000##FFFFFF
##8345D81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#6F6889
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8345d8;
/* rgb */ color: rgb(131, 69, 216);
/* oklch */ color: oklch(54.4% 0.213 298.3);
Tailwind
colors: {
  custom: {
    50: '#ad7de5',
    500: '#8345d8',
    950: '#000000',
  },
}
SCSS
$custom: #8345d8;
$custom-light: #ad7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#8345d8",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 265.306,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54422,
    "c": 0.21283,
    "h": 298.3
  },
  "luminance": 0.14039
}

Semantic roles & 50–950 ramp

primary
#8345D8
secondary
#C1DB9E
accent
#E840A1
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8345D8

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

Preview Lab → · Contrast checker → · Palette generator →

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