#8348BC#8348BC

#8348BC is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.177 H 304.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8348BC
RGBrgb(131, 72, 188)
HSLhsl(271, 46%, 51%)
HSVhsv(271, 62%, 74%)
CMYKcmyk(30.3%, 61.7%, 0%, 26.3%)
CIE-LABlab(42.90, 47.20, -51.71)
CIE-LCHlch(42.90, 70.02, 312.39°)
OKLaboklab(52.81% 0.1003 -0.1464)
OKLCHoklch(52.81% 0.177 304.4)
XYZxyz(20.7525, 13.0910, 49.0007)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8348BC #81BC48
analogous
#4948BC #8348BC #BC48BB
triadic
#8348BC #BC8348 #48BC83
tetradic
#8348BC #BC4948 #81BC48 #48BBBC
square
#8348BC #BC4948 #81BC48 #48BBBC
split-complementary
#8348BC #BBBC48 #48BC49
monochromatic
#452565 #643592 #8348BC #A175CC #C0A2DD

Accessibility & contrast

On white

5.80
#8348BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8348BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8348BC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8348BC#FFFFFF#000000##FFFFFF
##8348BC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#2B65B9
Tritanopia (blue-blind)
#79607B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8348bc;
/* rgb */ color: rgb(131, 72, 188);
/* oklch */ color: oklch(52.8% 0.177 304.4);
Tailwind
colors: {
  custom: {
    50: '#ab7ed1',
    500: '#8348bc',
    950: '#000000',
  },
}
SCSS
$custom: #8348bc;
$custom-light: #ab7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8348bc",
  "rgb": {
    "r": 131,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 270.517,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52806,
    "c": 0.17745,
    "h": 304.4
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#8348BC
secondary
#AFCA96
accent
#D65293
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8348BC

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

Preview Lab → · Contrast checker → · Palette generator →

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