#8351F2#8351F2

#8351F2 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.0% C 0.228 H 292.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8351F2
RGBrgb(131, 81, 242)
HSLhsl(259, 86%, 63%)
HSVhsv(259, 67%, 95%)
CMYKcmyk(45.9%, 66.5%, 0%, 5.1%)
CIE-LABlab(48.41, 56.34, -73.68)
CIE-LCHlch(48.41, 92.75, 307.41°)
OKLaboklab(57.98% 0.0854 -0.211)
OKLCHoklch(57.98% 0.228 292)
XYZxyz(28.3250, 17.1200, 85.7993)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351F2 #C0F251
analogous
#516FF2 #8351F2 #D451F2
triadic
#8351F2 #F28351 #51F283
tetradic
#8351F2 #F2516F #C0F251 #51F2D4
square
#8351F2 #F2516F #C0F251 #51F2D4
split-complementary
#8351F2 #F2D451 #6FF251
monochromatic
#440EBB #5A18EE #8351F2 #AC8AF6 #D4C3FB

Accessibility & contrast

On white

4.75
#8351F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8351F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351F2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351F2#FFFFFF#000000##FFFFFF
##8351F21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#61799B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8351f2;
/* rgb */ color: rgb(131, 81, 242);
/* oklch */ color: oklch(58.0% 0.228 292.0);
Tailwind
colors: {
  custom: {
    50: '#af85f7',
    500: '#8351f2',
    950: '#000000',
  },
}
SCSS
$custom: #8351f2;
$custom-light: #af85f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8351f2",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 258.634,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57982,
    "c": 0.22758,
    "h": 292
  },
  "luminance": 0.17121
}

Semantic roles & 50–950 ramp

primary
#8351F2
secondary
#DAECB3
accent
#E3039D
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8351F2

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

Preview Lab → · Contrast checker → · Palette generator →

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