#8351CA#8351CA

#8351CA is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.181 H 299.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8351CA
RGBrgb(131, 81, 202)
HSLhsl(265, 53%, 55%)
HSVhsv(265, 60%, 79%)
CMYKcmyk(35.1%, 59.9%, 0%, 20.8%)
CIE-LABlab(45.60, 45.89, -55.50)
CIE-LCHlch(45.60, 72.01, 309.59°)
OKLaboklab(55.06% 0.089 -0.1575)
OKLCHoklch(55.06% 0.181 299.5)
XYZxyz(22.9606, 14.9742, 57.5463)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351CA #98CA51
analogous
#515CCA #8351CA #BF51CA
triadic
#8351CA #CA8351 #51CA83
tetradic
#8351CA #CA515C #98CA51 #51CABF
square
#8351CA #CA515C #98CA51 #51CABF
split-complementary
#8351CA #CABF51 #5CCA51
monochromatic
#49257B #6534AA #8351CA #A480D8 #C6AFE7

Accessibility & contrast

On white

5.26
#8351CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8351CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351CA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351CA#FFFFFF#000000##FFFFFF
##8351CA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016CCE
Deuteranopia (green-blind)
#266BC7
Tritanopia (blue-blind)
#746B86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8351ca;
/* rgb */ color: rgb(131, 81, 202);
/* oklch */ color: oklch(55.1% 0.181 299.5);
Tailwind
colors: {
  custom: {
    50: '#ab84db',
    500: '#8351ca',
    950: '#000000',
  },
}
SCSS
$custom: #8351ca;
$custom-light: #ab84db;
$custom-dark: #000000;
JSON
{
  "hex": "#8351ca",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 264.793,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55061,
    "c": 0.1809,
    "h": 299.5
  },
  "luminance": 0.14974
}

Semantic roles & 50–950 ramp

primary
#8351CA
secondary
#C0D5A2
accent
#DD4BA1
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8351CA

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

Preview Lab → · Contrast checker → · Palette generator →

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