#8348BD#8348BD

#8348BD is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.179 H 304.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8348BD
RGBrgb(131, 72, 189)
HSLhsl(270, 47%, 51%)
HSVhsv(270, 62%, 74%)
CMYKcmyk(30.7%, 61.9%, 0%, 25.9%)
CIE-LABlab(42.96, 47.44, -52.19)
CIE-LCHlch(42.96, 70.53, 312.27°)
OKLaboklab(52.87% 0.1003 -0.1478)
OKLCHoklch(52.87% 0.179 304.2)
XYZxyz(20.8607, 13.1342, 49.5704)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8348BD #82BD48
analogous
#4848BD #8348BD #BD48BD
triadic
#8348BD #BD8348 #48BD83
tetradic
#8348BD #BD4848 #82BD48 #48BDBD
square
#8348BD #BD4848 #82BD48 #48BDBD
split-complementary
#8348BD #BDBD48 #48BD48
monochromatic
#462566 #643593 #8348BD #A175CD #C0A2DD

Accessibility & contrast

On white

5.79
#8348BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8348BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8348BD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8348BD#FFFFFF#000000##FFFFFF
##8348BD1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#2A65BA
Tritanopia (blue-blind)
#78607C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8348bd;
/* rgb */ color: rgb(131, 72, 189);
/* oklch */ color: oklch(52.9% 0.179 304.2);
Tailwind
colors: {
  custom: {
    50: '#ab7ed1',
    500: '#8348bd',
    950: '#000000',
  },
}
SCSS
$custom: #8348bd;
$custom-light: #ab7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8348bd",
  "rgb": {
    "r": 131,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 270.256,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52874,
    "c": 0.17859,
    "h": 304.2
  },
  "luminance": 0.13134
}

Semantic roles & 50–950 ramp

primary
#8348BD
secondary
#B0CA97
accent
#D75193
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8348BD

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

Preview Lab → · Contrast checker → · Palette generator →

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