#8351D7#8351D7

#8351D7 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.0% C 0.196 H 296.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8351D7
RGBrgb(131, 81, 215)
HSLhsl(262, 63%, 58%)
HSVhsv(262, 62%, 84%)
CMYKcmyk(39.1%, 62.3%, 0%, 15.7%)
CIE-LABlab(46.47, 49.24, -61.56)
CIE-LCHlch(46.47, 78.83, 308.66°)
OKLaboklab(55.97% 0.0883 -0.1753)
OKLCHoklch(55.97% 0.196 296.7)
XYZxyz(24.5651, 15.6160, 65.9968)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351D7 #A5D751
analogous
#5162D7 #8351D7 #C651D7
triadic
#8351D7 #D78351 #51D783
tetradic
#8351D7 #D75162 #A5D751 #51D7C6
square
#8351D7 #D75162 #A5D751 #51D7C6
split-complementary
#8351D7 #D7C651 #62D751
monochromatic
#49208D #632CBF #8351D7 #A683E2 #CAB5EE

Accessibility & contrast

On white

5.09
#8351D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8351D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351D7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351D7#FFFFFF#000000##FFFFFF
##8351D71.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#6E6F8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8351d7;
/* rgb */ color: rgb(131, 81, 215);
/* oklch */ color: oklch(56.0% 0.196 296.7);
Tailwind
colors: {
  custom: {
    50: '#ad84e4',
    500: '#8351d7',
    950: '#000000',
  },
}
SCSS
$custom: #8351d7;
$custom-light: #ad84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8351d7",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 262.388,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55968,
    "c": 0.19631,
    "h": 296.7
  },
  "luminance": 0.15616
}

Semantic roles & 50–950 ramp

primary
#8351D7
secondary
#C9DDA7
accent
#E642A9
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8351D7

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

Preview Lab → · Contrast checker → · Palette generator →

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