#8348E2#8348E2

#8348E2 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.220 H 296.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8348E2
RGBrgb(131, 72, 226)
HSLhsl(263, 73%, 58%)
HSVhsv(263, 68%, 89%)
CMYKcmyk(42%, 68.1%, 0%, 11.4%)
CIE-LABlab(45.57, 56.69, -69.28)
CIE-LCHlch(45.57, 89.52, 309.29°)
OKLaboklab(55.57% 0.0964 -0.198)
OKLCHoklch(55.57% 0.22 296)
XYZxyz(25.4013, 14.9505, 73.4842)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8348E2 #A7E248
analogous
#485AE2 #8348E2 #D048E2
triadic
#8348E2 #E28348 #48E283
tetradic
#8348E2 #E2485A #A7E248 #48E2D0
square
#8348E2 #E2485A #A7E248 #48E2D0
split-complementary
#8348E2 #E2D048 #5AE248
monochromatic
#491898 #6220CC #8348E2 #A77DEA #CBB2F3

Accessibility & contrast

On white

5.26
#8348E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8348E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8348E2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8348E2#FFFFFF#000000##FFFFFF
##8348E21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#6A6E90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8348e2;
/* rgb */ color: rgb(131, 72, 226);
/* oklch */ color: oklch(55.6% 0.220 296.0);
Tailwind
colors: {
  custom: {
    50: '#ae7fec',
    500: '#8348e2',
    950: '#000000',
  },
}
SCSS
$custom: #8348e2;
$custom-light: #ae7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#8348e2",
  "rgb": {
    "r": 131,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 262.987,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55569,
    "c": 0.22026,
    "h": 296
  },
  "luminance": 0.14951
}

Semantic roles & 50–950 ramp

primary
#8348E2
secondary
#CAE1A4
accent
#EF38A9
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8348E2

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

Preview Lab → · Contrast checker → · Palette generator →

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