#8351AF#8351AF

#8351AF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.148 H 306.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8351AF
RGBrgb(131, 81, 175)
HSLhsl(272, 37%, 50%)
HSVhsv(272, 54%, 69%)
CMYKcmyk(25.1%, 53.7%, 0%, 31.4%)
CIE-LABlab(43.95, 39.17, -42.40)
CIE-LCHlch(43.95, 57.73, 312.73°)
OKLaboklab(53.32% 0.0885 -0.1191)
OKLCHoklch(53.32% 0.148 306.6)
XYZxyz(20.0388, 13.8055, 42.1582)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351AF #7DAF51
analogous
#5451AF #8351AF #AF51AC
triadic
#8351AF #AF8351 #51AF83
tetradic
#8351AF #AF5451 #7DAF51 #51ACAF
square
#8351AF #AF5451 #7DAF51 #51ACAF
split-complementary
#8351AF #ACAF51 #51AF54
monochromatic
#442A5C #643D85 #8351AF #A17BC2 #BFA5D6

Accessibility & contrast

On white

5.58
#8351AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8351AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351AF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351AF#FFFFFF#000000##FFFFFF
##8351AF1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#4368AD
Tritanopia (blue-blind)
#7C6278
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8351af;
/* rgb */ color: rgb(131, 81, 175);
/* oklch */ color: oklch(53.3% 0.148 306.6);
Tailwind
colors: {
  custom: {
    50: '#a983c7',
    500: '#8351af',
    950: '#000000',
  },
}
SCSS
$custom: #8351af;
$custom-light: #a983c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8351af",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 271.915,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53323,
    "c": 0.1484,
    "h": 306.6
  },
  "luminance": 0.13805
}

Semantic roles & 50–950 ramp

primary
#8351AF
secondary
#ADC399
accent
#CD5B90
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8351AF

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

Preview Lab → · Contrast checker → · Palette generator →

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