#8348CF#8348CF

#8348CF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.199 H 299.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8348CF
RGBrgb(131, 72, 207)
HSLhsl(266, 58%, 55%)
HSVhsv(266, 65%, 81%)
CMYKcmyk(36.7%, 65.2%, 0%, 18.8%)
CIE-LABlab(44.18, 51.89, -60.67)
CIE-LCHlch(44.18, 79.83, 310.54°)
OKLaboklab(54.14% 0.0989 -0.1727)
OKLCHoklch(54.14% 0.199 299.8)
XYZxyz(22.9371, 13.9648, 60.5064)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8348CF #94CF48
analogous
#4851CF #8348CF #C748CF
triadic
#8348CF #CF8348 #48CF83
tetradic
#8348CF #CF4851 #94CF48 #48CFC7
square
#8348CF #CF4851 #94CF48 #48CFC7
split-complementary
#8348CF #CFC748 #51CF48
monochromatic
#49217C #652DAD #8348CF #A478DC #C5A9E8

Accessibility & contrast

On white

5.54
#8348CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8348CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8348CF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8348CF#FFFFFF#000000##FFFFFF
##8348CF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#726785
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8348cf;
/* rgb */ color: rgb(131, 72, 207);
/* oklch */ color: oklch(54.1% 0.199 299.8);
Tailwind
colors: {
  custom: {
    50: '#ac7fde',
    500: '#8348cf',
    950: '#000000',
  },
}
SCSS
$custom: #8348cf;
$custom-light: #ac7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8348cf",
  "rgb": {
    "r": 131,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 266.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54141,
    "c": 0.19902,
    "h": 299.8
  },
  "luminance": 0.13965
}

Semantic roles & 50–950 ramp

primary
#8348CF
secondary
#BDD69D
accent
#E2469E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8348CF

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

Preview Lab → · Contrast checker → · Palette generator →

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