#8348CC#8348CC

#8348CC is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.196 H 300.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8348CC
RGBrgb(131, 72, 204)
HSLhsl(267, 56%, 54%)
HSVhsv(267, 65%, 80%)
CMYKcmyk(35.8%, 64.7%, 0%, 20%)
CIE-LABlab(43.97, 51.14, -59.28)
CIE-LCHlch(43.97, 78.29, 310.78°)
OKLaboklab(53.92% 0.0992 -0.1686)
OKLCHoklch(53.92% 0.196 300.5)
XYZxyz(22.5739, 13.8195, 58.5932)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8348CC #91CC48
analogous
#484FCC #8348CC #C548CC
triadic
#8348CC #CC8348 #48CC83
tetradic
#8348CC #CC484F #91CC48 #48CCC5
square
#8348CC #CC484F #91CC48 #48CCC5
split-complementary
#8348CC #CCC548 #4FCC48
monochromatic
#482178 #652FA8 #8348CC #A378D9 #C4A8E7

Accessibility & contrast

On white

5.58
#8348CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8348CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8348CC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8348CC#FFFFFF#000000##FFFFFF
##8348CC1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0567C9
Tritanopia (blue-blind)
#736684
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8348cc;
/* rgb */ color: rgb(131, 72, 204);
/* oklch */ color: oklch(53.9% 0.196 300.5);
Tailwind
colors: {
  custom: {
    50: '#ac7edc',
    500: '#8348cc',
    950: '#000000',
  },
}
SCSS
$custom: #8348cc;
$custom-light: #ac7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8348cc",
  "rgb": {
    "r": 131,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 266.818,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53924,
    "c": 0.19563,
    "h": 300.5
  },
  "luminance": 0.1382
}

Semantic roles & 50–950 ramp

primary
#8348CC
secondary
#BBD49C
accent
#E0489C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8348CC

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

Preview Lab → · Contrast checker → · Palette generator →

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