#8351D5#8351D5

#8351D5 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.194 H 297.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8351D5
RGBrgb(131, 81, 213)
HSLhsl(263, 61%, 58%)
HSVhsv(263, 62%, 84%)
CMYKcmyk(38.5%, 62%, 0%, 16.5%)
CIE-LABlab(46.33, 48.72, -60.64)
CIE-LCHlch(46.33, 77.78, 308.78°)
OKLaboklab(55.83% 0.0884 -0.1726)
OKLCHoklch(55.83% 0.194 297.1)
XYZxyz(24.3097, 15.5138, 64.6516)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351D5 #A3D551
analogous
#5161D5 #8351D5 #C551D5
triadic
#8351D5 #D58351 #51D583
tetradic
#8351D5 #D55161 #A3D551 #51D5C5
square
#8351D5 #D55161 #A3D551 #51D5C5
split-complementary
#8351D5 #D5C551 #61D551
monochromatic
#49218A #632DBC #8351D5 #A682E1 #C9B4ED

Accessibility & contrast

On white

5.12
#8351D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8351D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351D5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351D5#FFFFFF#000000##FFFFFF
##8351D51.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#086CD2
Tritanopia (blue-blind)
#6F6E8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8351d5;
/* rgb */ color: rgb(131, 81, 213);
/* oklch */ color: oklch(55.8% 0.194 297.1);
Tailwind
colors: {
  custom: {
    50: '#ac84e3',
    500: '#8351d5',
    950: '#000000',
  },
}
SCSS
$custom: #8351d5;
$custom-light: #ac84e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8351d5",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 262.727,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.19395,
    "h": 297.1
  },
  "luminance": 0.15514
}

Semantic roles & 50–950 ramp

primary
#8351D5
secondary
#C7DBA6
accent
#E444A7
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8351D5

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

Preview Lab → · Contrast checker → · Palette generator →

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