#8345BC#8345BC

#8345BC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.182 H 304.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8345BC
RGBrgb(131, 69, 188)
HSLhsl(271, 47%, 50%)
HSVhsv(271, 63%, 74%)
CMYKcmyk(30.3%, 63.3%, 0%, 26.3%)
CIE-LABlab(42.33, 48.75, -52.64)
CIE-LCHlch(42.33, 71.75, 312.81°)
OKLaboklab(52.39% 0.1039 -0.1491)
OKLCHoklch(52.39% 0.182 304.9)
XYZxyz(20.5633, 12.7125, 48.9376)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345BC #7EBC45
analogous
#4745BC #8345BC #BC45B9
triadic
#8345BC #BC8345 #45BC83
tetradic
#8345BC #BC4745 #7EBC45 #45B9BC
square
#8345BC #BC4745 #7EBC45 #45B9BC
split-complementary
#8345BC #B9BC45 #45BC47
monochromatic
#452463 #643490 #8345BC #A172CC #BF9FDC

Accessibility & contrast

On white

5.93
#8345BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8345BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345BC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345BC#FFFFFF#000000##FFFFFF
##8345BC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#795E7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8345bc;
/* rgb */ color: rgb(131, 69, 188);
/* oklch */ color: oklch(52.4% 0.182 304.9);
Tailwind
colors: {
  custom: {
    50: '#ab7cd1',
    500: '#8345bc',
    950: '#000000',
  },
}
SCSS
$custom: #8345bc;
$custom-light: #ab7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8345bc",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 271.261,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52391,
    "c": 0.18172,
    "h": 304.9
  },
  "luminance": 0.12712
}

Semantic roles & 50–950 ramp

primary
#8345BC
secondary
#ADC994
accent
#D75191
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8345BC

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

Preview Lab → · Contrast checker → · Palette generator →

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