#8351E6#8351E6

#8351E6 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.214 H 294.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8351E6
RGBrgb(131, 81, 230)
HSLhsl(260, 75%, 61%)
HSVhsv(260, 65%, 90%)
CMYKcmyk(43%, 64.8%, 0%, 9.8%)
CIE-LABlab(47.52, 53.17, -68.37)
CIE-LCHlch(47.52, 86.61, 307.87°)
OKLaboklab(57.07% 0.0869 -0.1954)
OKLCHoklch(57.07% 0.214 294)
XYZxyz(26.5816, 16.4226, 76.6169)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351E6 #B4E651
analogous
#5169E6 #8351E6 #CD51E6
triadic
#8351E6 #E68351 #51E683
tetradic
#8351E6 #E65169 #B4E651 #51E6CD
square
#8351E6 #E65169 #B4E651 #51E6CD
split-complementary
#8351E6 #E6CD51 #69E651
monochromatic
#4718A5 #5E1FDA #8351E6 #A987EE #CFBCF5

Accessibility & contrast

On white

4.90
#8351E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8351E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351E6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351E6#FFFFFF#000000##FFFFFF
##8351E61.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#687495
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8351e6;
/* rgb */ color: rgb(131, 81, 230);
/* oklch */ color: oklch(57.1% 0.214 294.0);
Tailwind
colors: {
  custom: {
    50: '#ae85ef',
    500: '#8351e6',
    950: '#000000',
  },
}
SCSS
$custom: #8351e6;
$custom-light: #ae85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8351e6",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 260.134,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57067,
    "c": 0.21381,
    "h": 294
  },
  "luminance": 0.16423
}

Semantic roles & 50–950 ramp

primary
#8351E6
secondary
#D3E5AD
accent
#D70E94
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8351E6

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

Preview Lab → · Contrast checker → · Palette generator →

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