#8348D7#8348D7

#8348D7 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.208 H 298.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8348D7
RGBrgb(131, 72, 215)
HSLhsl(265, 64%, 56%)
HSVhsv(265, 67%, 84%)
CMYKcmyk(39.1%, 66.5%, 0%, 15.7%)
CIE-LABlab(44.75, 53.90, -64.33)
CIE-LCHlch(44.75, 83.93, 309.96°)
OKLaboklab(54.73% 0.098 -0.1835)
OKLCHoklch(54.73% 0.208 298.1)
XYZxyz(23.9401, 14.3660, 65.7884)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8348D7 #9CD748
analogous
#4855D7 #8348D7 #CB48D7
triadic
#8348D7 #D78348 #48D783
tetradic
#8348D7 #D74855 #9CD748 #48D7CB
square
#8348D7 #D74855 #9CD748 #48D7CB
split-complementary
#8348D7 #D7CB48 #55D748
monochromatic
#491E87 #6429B9 #8348D7 #A57AE2 #C7ACED

Accessibility & contrast

On white

5.42
#8348D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8348D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8348D7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8348D7#FFFFFF#000000##FFFFFF
##8348D71.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#6F6A8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8348d7;
/* rgb */ color: rgb(131, 72, 215);
/* oklch */ color: oklch(54.7% 0.208 298.1);
Tailwind
colors: {
  custom: {
    50: '#ad7fe4',
    500: '#8348d7',
    950: '#000000',
  },
}
SCSS
$custom: #8348d7;
$custom-light: #ad7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#8348d7",
  "rgb": {
    "r": 131,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 264.755,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54732,
    "c": 0.20801,
    "h": 298.1
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#8348D7
secondary
#C3DBA0
accent
#E741A2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8348D7

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

Preview Lab → · Contrast checker → · Palette generator →

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