#8351BB#8351BB

#8351BB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.1% C 0.163 H 303.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8351BB
RGBrgb(131, 81, 187)
HSLhsl(268, 44%, 53%)
HSVhsv(268, 57%, 73%)
CMYKcmyk(29.9%, 56.7%, 0%, 26.7%)
CIE-LABlab(44.66, 42.11, -48.31)
CIE-LCHlch(44.66, 64.09, 311.08°)
OKLaboklab(54.07% 0.089 -0.1364)
OKLCHoklch(54.07% 0.163 303.1)
XYZxyz(21.2701, 14.2980, 48.6433)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351BB #89BB51
analogous
#5154BB #8351BB #B851BB
triadic
#8351BB #BB8351 #51BB83
tetradic
#8351BB #BB5154 #89BB51 #51BBB8
square
#8351BB #BB5154 #89BB51 #51BBB8
split-complementary
#8351BB #BBB851 #54BB51
monochromatic
#472969 #653A95 #8351BB #A27DCC #C2A9DD

Accessibility & contrast

On white

5.44
#8351BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8351BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351BB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351BB#FFFFFF#000000##FFFFFF
##8351BB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BE
Deuteranopia (green-blind)
#3969B9
Tritanopia (blue-blind)
#79667E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8351bb;
/* rgb */ color: rgb(131, 81, 187);
/* oklch */ color: oklch(54.1% 0.163 303.1);
Tailwind
colors: {
  custom: {
    50: '#aa84d0',
    500: '#8351bb',
    950: '#000000',
  },
}
SCSS
$custom: #8351bb;
$custom-light: #aa84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8351bb",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 268.302,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5407,
    "c": 0.1629,
    "h": 303.1
  },
  "luminance": 0.14298
}

Semantic roles & 50–950 ramp

primary
#8351BB
secondary
#B5CB9D
accent
#D45498
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8351BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8351BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva