#8345D4#8345D4

#8345D4 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.208 H 299.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8345D4
RGBrgb(131, 69, 212)
HSLhsl(266, 62%, 55%)
HSVhsv(266, 67%, 83%)
CMYKcmyk(38.2%, 67.5%, 0%, 16.9%)
CIE-LABlab(43.99, 54.64, -63.84)
CIE-LCHlch(43.99, 84.03, 310.56°)
OKLaboklab(54.12% 0.1015 -0.182)
OKLCHoklch(54.12% 0.208 299.1)
XYZxyz(23.3689, 13.8347, 63.7138)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345D4 #96D445
analogous
#454FD4 #8345D4 #CA45D4
triadic
#8345D4 #D48345 #45D483
tetradic
#8345D4 #D4454F #96D445 #45D4CA
square
#8345D4 #D4454F #96D445 #45D4CA
split-complementary
#8345D4 #D4CA45 #4FD445
monochromatic
#491E81 #6529B3 #8345D4 #A477DF #C5A8EB

Accessibility & contrast

On white

5.57
#8345D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8345D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345D4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345D4#FFFFFF#000000##FFFFFF
##8345D41.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#706787
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8345d4;
/* rgb */ color: rgb(131, 69, 212);
/* oklch */ color: oklch(54.1% 0.208 299.1);
Tailwind
colors: {
  custom: {
    50: '#ad7de2',
    500: '#8345d4',
    950: '#000000',
  },
}
SCSS
$custom: #8345d4;
$custom-light: #ad7de2;
$custom-dark: #000000;
JSON
{
  "hex": "#8345d4",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 266.014,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5412,
    "c": 0.20842,
    "h": 299.1
  },
  "luminance": 0.13835
}

Semantic roles & 50–950 ramp

primary
#8345D4
secondary
#BED89C
accent
#E6429F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8345D4

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

Preview Lab → · Contrast checker → · Palette generator →

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