#8351BF#8351BF

#8351BF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.3% C 0.168 H 302.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8351BF
RGBrgb(131, 81, 191)
HSLhsl(267, 46%, 53%)
HSVhsv(267, 58%, 75%)
CMYKcmyk(31.4%, 57.6%, 0%, 25.1%)
CIE-LABlab(44.90, 43.11, -50.25)
CIE-LCHlch(44.90, 66.20, 310.62°)
OKLaboklab(54.33% 0.0891 -0.1421)
OKLCHoklch(54.33% 0.168 302.1)
XYZxyz(21.7043, 14.4717, 50.9300)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351BF #8DBF51
analogous
#5156BF #8351BF #BA51BF
triadic
#8351BF #BF8351 #51BF83
tetradic
#8351BF #BF5156 #8DBF51 #51BFBA
square
#8351BF #BF5156 #8DBF51 #51BFBA
split-complementary
#8351BF #BFBA51 #56BF51
monochromatic
#48286D #65399A #8351BF #A37ECF #C3AAE0

Accessibility & contrast

On white

5.39
#8351BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8351BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351BF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351BF#FFFFFF#000000##FFFFFF
##8351BF1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#356ABC
Tritanopia (blue-blind)
#776780
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8351bf;
/* rgb */ color: rgb(131, 81, 191);
/* oklch */ color: oklch(54.3% 0.168 302.1);
Tailwind
colors: {
  custom: {
    50: '#ab84d3',
    500: '#8351bf',
    950: '#000000',
  },
}
SCSS
$custom: #8351bf;
$custom-light: #ab84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8351bf",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 267.273,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54328,
    "c": 0.16772,
    "h": 302.1
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

primary
#8351BF
secondary
#B8CE9E
accent
#D6529A
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8351BF

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

Preview Lab → · Contrast checker → · Palette generator →

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