#8348BA#8348BA

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

Color values

HEX#8348BA
RGBrgb(131, 72, 186)
HSLhsl(271, 45%, 51%)
HSVhsv(271, 61%, 73%)
CMYKcmyk(29.6%, 61.3%, 0%, 27.1%)
CIE-LABlab(42.77, 46.72, -50.75)
CIE-LCHlch(42.77, 68.98, 312.63°)
OKLaboklab(52.67% 0.1004 -0.1436)
OKLCHoklch(52.67% 0.175 305)
XYZxyz(20.5384, 13.0053, 47.8731)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8348BA #7FBA48
analogous
#4A48BA #8348BA #BA48B8
triadic
#8348BA #BA8348 #48BA83
tetradic
#8348BA #BA4A48 #7FBA48 #48B8BA
square
#8348BA #BA4A48 #7FBA48 #48B8BA
split-complementary
#8348BA #B8BA48 #48BA4A
monochromatic
#452562 #64368F #8348BA #A174CB #BFA1DC

Accessibility & contrast

On white

5.83
#8348BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8348BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8348BA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8348BA#FFFFFF#000000##FFFFFF
##8348BA1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0763BE
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#795F7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8348ba;
/* rgb */ color: rgb(131, 72, 186);
/* oklch */ color: oklch(52.7% 0.175 305.0);
Tailwind
colors: {
  custom: {
    50: '#ab7ecf',
    500: '#8348ba',
    950: '#000000',
  },
}
SCSS
$custom: #8348ba;
$custom-light: #ab7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#8348ba",
  "rgb": {
    "r": 131,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 271.053,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.17517,
    "h": 305
  },
  "luminance": 0.13005
}

Semantic roles & 50–950 ramp

primary
#8348BA
secondary
#AEC896
accent
#D55392
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8348BA

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

Preview Lab → · Contrast checker → · Palette generator →

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