#8348BB#8348BB

#8348BB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.176 H 304.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8348BB
RGBrgb(131, 72, 187)
HSLhsl(271, 46%, 51%)
HSVhsv(271, 61%, 73%)
CMYKcmyk(29.9%, 61.5%, 0%, 26.7%)
CIE-LABlab(42.84, 46.96, -51.23)
CIE-LCHlch(42.84, 69.50, 312.51°)
OKLaboklab(52.74% 0.1003 -0.145)
OKLCHoklch(52.74% 0.176 304.7)
XYZxyz(20.6451, 13.0480, 48.4350)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8348BB #80BB48
analogous
#4948BB #8348BB #BB48B9
triadic
#8348BB #BB8348 #48BB83
tetradic
#8348BB #BB4948 #80BB48 #48B9BB
square
#8348BB #BB4948 #80BB48 #48B9BB
split-complementary
#8348BB #B9BB48 #48BB49
monochromatic
#452564 #643690 #8348BB #A175CC #BFA1DC

Accessibility & contrast

On white

5.82
#8348BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8348BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8348BB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8348BB#FFFFFF#000000##FFFFFF
##8348BB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0364BF
Deuteranopia (green-blind)
#2D65B8
Tritanopia (blue-blind)
#79607B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8348bb;
/* rgb */ color: rgb(131, 72, 187);
/* oklch */ color: oklch(52.7% 0.176 304.7);
Tailwind
colors: {
  custom: {
    50: '#ab7ed0',
    500: '#8348bb',
    950: '#000000',
  },
}
SCSS
$custom: #8348bb;
$custom-light: #ab7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8348bb",
  "rgb": {
    "r": 131,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 270.783,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52739,
    "c": 0.17631,
    "h": 304.7
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#8348BB
secondary
#AFC996
accent
#D55292
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8348BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8348BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva