#8351BC#8351BC

#8351BC is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.1% C 0.164 H 302.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8351BC
RGBrgb(131, 81, 188)
HSLhsl(268, 44%, 53%)
HSVhsv(268, 57%, 74%)
CMYKcmyk(30.3%, 56.9%, 0%, 26.3%)
CIE-LABlab(44.72, 42.36, -48.80)
CIE-LCHlch(44.72, 64.61, 310.96°)
OKLaboklab(54.13% 0.0891 -0.1378)
OKLCHoklch(54.13% 0.164 302.9)
XYZxyz(21.3775, 14.3410, 49.2091)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351BC #8ABC51
analogous
#5155BC #8351BC #B851BC
triadic
#8351BC #BC8351 #51BC83
tetradic
#8351BC #BC5155 #8ABC51 #51BCB8
square
#8351BC #BC5155 #8ABC51 #51BCB8
split-complementary
#8351BC #BCB851 #55BC51
monochromatic
#47296A #653A96 #8351BC #A27DCD #C2A9DE

Accessibility & contrast

On white

5.43
#8351BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8351BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351BC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351BC#FFFFFF#000000##FFFFFF
##8351BC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#78667F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8351bc;
/* rgb */ color: rgb(131, 81, 188);
/* oklch */ color: oklch(54.1% 0.164 302.9);
Tailwind
colors: {
  custom: {
    50: '#aa84d1',
    500: '#8351bc',
    950: '#000000',
  },
}
SCSS
$custom: #8351bc;
$custom-light: #aa84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8351bc",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 268.037,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54134,
    "c": 0.16411,
    "h": 302.9
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#8351BC
secondary
#B6CC9D
accent
#D45498
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8351BC

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

Preview Lab → · Contrast checker → · Palette generator →

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