#8345D7#8345D7

#8345D7 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.3% C 0.212 H 298.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8345D7
RGBrgb(131, 69, 215)
HSLhsl(265, 65%, 56%)
HSVhsv(265, 68%, 84%)
CMYKcmyk(39.1%, 67.9%, 0%, 15.7%)
CIE-LABlab(44.22, 55.38, -65.21)
CIE-LCHlch(44.22, 85.55, 310.34°)
OKLaboklab(54.35% 0.1011 -0.186)
OKLCHoklch(54.35% 0.212 298.5)
XYZxyz(23.7508, 13.9875, 65.7253)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345D7 #99D745
analogous
#4550D7 #8345D7 #CC45D7
triadic
#8345D7 #D78345 #45D783
tetradic
#8345D7 #D74550 #99D745 #45D7CC
square
#8345D7 #D74550 #99D745 #45D7CC
split-complementary
#8345D7 #D7CC45 #50D745
monochromatic
#491D85 #6527B7 #8345D7 #A577E2 #C6AAED

Accessibility & contrast

On white

5.53
#8345D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8345D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345D7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345D7#FFFFFF#000000##FFFFFF
##8345D71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8345d7;
/* rgb */ color: rgb(131, 69, 215);
/* oklch */ color: oklch(54.3% 0.212 298.5);
Tailwind
colors: {
  custom: {
    50: '#ad7de4',
    500: '#8345d7',
    950: '#000000',
  },
}
SCSS
$custom: #8345d7;
$custom-light: #ad7de4;
$custom-dark: #000000;
JSON
{
  "hex": "#8345d7",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 265.479,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54346,
    "c": 0.21173,
    "h": 298.5
  },
  "luminance": 0.13988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8345D7

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

Preview Lab → · Contrast checker → · Palette generator →

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