#8345BD#8345BD

#8345BD is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.183 H 304.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8345BD
RGBrgb(131, 69, 189)
HSLhsl(271, 48%, 51%)
HSVhsv(271, 63%, 74%)
CMYKcmyk(30.7%, 63.5%, 0%, 25.9%)
CIE-LABlab(42.39, 48.99, -53.11)
CIE-LCHlch(42.39, 72.26, 312.69°)
OKLaboklab(52.46% 0.1039 -0.1505)
OKLCHoklch(52.46% 0.183 304.6)
XYZxyz(20.6715, 12.7558, 49.5073)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345BD #7FBD45
analogous
#4745BD #8345BD #BD45BB
triadic
#8345BD #BD8345 #45BD83
tetradic
#8345BD #BD4745 #7FBD45 #45BBBD
square
#8345BD #BD4745 #7FBD45 #45BBBD
split-complementary
#8345BD #BBBD45 #45BD47
monochromatic
#452464 #643491 #8345BD #A172CD #BF9FDD

Accessibility & contrast

On white

5.91
#8345BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8345BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345BD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345BD#FFFFFF#000000##FFFFFF
##8345BD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#785E7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8345bd;
/* rgb */ color: rgb(131, 69, 189);
/* oklch */ color: oklch(52.5% 0.183 304.6);
Tailwind
colors: {
  custom: {
    50: '#ab7cd2',
    500: '#8345bd',
    950: '#000000',
  },
}
SCSS
$custom: #8345bd;
$custom-light: #ab7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8345bd",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 271,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.18284,
    "h": 304.6
  },
  "luminance": 0.12756
}

Semantic roles & 50–950 ramp

primary
#8345BD
secondary
#AECA94
accent
#D75192
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8345BD

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

Preview Lab → · Contrast checker → · Palette generator →

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