#8348C2#8348C2

#8348C2 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.184 H 302.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8348C2
RGBrgb(131, 72, 194)
HSLhsl(269, 50%, 52%)
HSVhsv(269, 63%, 76%)
CMYKcmyk(32.5%, 62.9%, 0%, 23.9%)
CIE-LABlab(43.29, 48.66, -54.58)
CIE-LCHlch(43.29, 73.12, 311.72°)
OKLaboklab(53.22% 0.1 -0.1548)
OKLCHoklch(53.22% 0.184 302.9)
XYZxyz(21.4128, 13.3551, 52.4782)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8348C2 #87C248
analogous
#484AC2 #8348C2 #C048C2
triadic
#8348C2 #C28348 #48C283
tetradic
#8348C2 #C2484A #87C248 #48C2C0
square
#8348C2 #C2484A #87C248 #48C2C0
split-complementary
#8348C2 #C2C048 #4AC248
monochromatic
#47246C #65339A #8348C2 #A276D1 #C1A4E1

Accessibility & contrast

On white

5.72
#8348C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8348C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8348C2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8348C2#FFFFFF#000000##FFFFFF
##8348C21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#2266BF
Tritanopia (blue-blind)
#77627E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8348c2;
/* rgb */ color: rgb(131, 72, 194);
/* oklch */ color: oklch(53.2% 0.184 302.9);
Tailwind
colors: {
  custom: {
    50: '#ab7ed5',
    500: '#8348c2',
    950: '#000000',
  },
}
SCSS
$custom: #8348c2;
$custom-light: #ab7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#8348c2",
  "rgb": {
    "r": 131,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 269.016,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53217,
    "c": 0.1843,
    "h": 302.9
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#8348C2
secondary
#B4CE98
accent
#DA4E96
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8348C2

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

Preview Lab → · Contrast checker → · Palette generator →

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