#8351BE#8351BE

#8351BE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.167 H 302.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8351BE
RGBrgb(131, 81, 190)
HSLhsl(268, 46%, 53%)
HSVhsv(268, 57%, 75%)
CMYKcmyk(31.1%, 57.4%, 0%, 25.5%)
CIE-LABlab(44.84, 42.85, -49.76)
CIE-LCHlch(44.84, 65.67, 310.73°)
OKLaboklab(54.26% 0.0891 -0.1407)
OKLCHoklch(54.26% 0.167 302.3)
XYZxyz(21.5946, 14.4278, 50.3524)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351BE #8CBE51
analogous
#5155BE #8351BE #BA51BE
triadic
#8351BE #BE8351 #51BE83
tetradic
#8351BE #BE5155 #8CBE51 #51BEBA
square
#8351BE #BE5155 #8CBE51 #51BEBA
split-complementary
#8351BE #BEBA51 #55BE51
monochromatic
#48286C #653999 #8351BE #A37ECF #C3AADF

Accessibility & contrast

On white

5.40
#8351BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8351BE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351BE#FFFFFF#000000##FFFFFF
##8351BE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2269C2
Deuteranopia (green-blind)
#366ABB
Tritanopia (blue-blind)
#786780
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8351be;
/* rgb */ color: rgb(131, 81, 190);
/* oklch */ color: oklch(54.3% 0.167 302.3);
Tailwind
colors: {
  custom: {
    50: '#aa84d2',
    500: '#8351be',
    950: '#000000',
  },
}
SCSS
$custom: #8351be;
$custom-light: #aa84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8351be",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 267.523,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.16652,
    "h": 302.3
  },
  "luminance": 0.14428
}

Semantic roles & 50–950 ramp

primary
#8351BE
secondary
#B7CD9E
accent
#D55399
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8351BE

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

Preview Lab → · Contrast checker → · Palette generator →

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