#8351DD#8351DD

#8351DD is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.203 H 295.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8351DD
RGBrgb(131, 81, 221)
HSLhsl(261, 67%, 59%)
HSVhsv(261, 63%, 87%)
CMYKcmyk(40.7%, 63.3%, 0%, 13.3%)
CIE-LABlab(46.88, 50.80, -64.30)
CIE-LCHlch(46.88, 81.95, 308.31°)
OKLaboklab(56.4% 0.0878 -0.1834)
OKLCHoklch(56.4% 0.203 295.6)
XYZxyz(25.3502, 15.9301, 70.1318)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351DD #ABDD51
analogous
#5165DD #8351DD #C951DD
triadic
#8351DD #DD8351 #51DD83
tetradic
#8351DD #DD5165 #ABDD51 #51DDC9
square
#8351DD #DD5165 #ABDD51 #51DDC9
split-complementary
#8351DD #DDC951 #65DD51
monochromatic
#491D96 #6127C9 #8351DD #A784E7 #CCB7F1

Accessibility & contrast

On white

5.02
#8351DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8351DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351DD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351DD#FFFFFF#000000##FFFFFF
##8351DD1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#6C7190
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8351dd;
/* rgb */ color: rgb(131, 81, 221);
/* oklch */ color: oklch(56.4% 0.203 295.6);
Tailwind
colors: {
  custom: {
    50: '#ad84e8',
    500: '#8351dd',
    950: '#000000',
  },
}
SCSS
$custom: #8351dd;
$custom-light: #ad84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8351dd",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 261.429,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56401,
    "c": 0.20334,
    "h": 295.6
  },
  "luminance": 0.15931
}

Semantic roles & 50–950 ramp

primary
#8351DD
secondary
#CDE0AA
accent
#EA3EAD
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8351DD

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

Preview Lab → · Contrast checker → · Palette generator →

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