#8351CB#8351CB

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

Color values

HEX#8351CB
RGBrgb(131, 81, 203)
HSLhsl(265, 54%, 56%)
HSVhsv(265, 60%, 80%)
CMYKcmyk(35.5%, 60.1%, 0%, 20.4%)
CIE-LABlab(45.66, 46.14, -55.97)
CIE-LCHlch(45.66, 72.54, 309.50°)
OKLaboklab(55.13% 0.0889 -0.1589)
OKLCHoklch(55.13% 0.182 299.2)
XYZxyz(23.0793, 15.0217, 58.1719)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351CB #99CB51
analogous
#515CCB #8351CB #C051CB
triadic
#8351CB #CB8351 #51CB83
tetradic
#8351CB #CB515C #99CB51 #51CBC0
square
#8351CB #CB515C #99CB51 #51CBC0
split-complementary
#8351CB #CBC051 #5CCB51
monochromatic
#49257C #6533AC #8351CB #A580D9 #C6AFE7

Accessibility & contrast

On white

5.24
#8351CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8351CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351CB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351CB#FFFFFF#000000##FFFFFF
##8351CB1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#246BC8
Tritanopia (blue-blind)
#736B86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8351cb;
/* rgb */ color: rgb(131, 81, 203);
/* oklch */ color: oklch(55.1% 0.182 299.2);
Tailwind
colors: {
  custom: {
    50: '#ab84db',
    500: '#8351cb',
    950: '#000000',
  },
}
SCSS
$custom: #8351cb;
$custom-light: #ab84db;
$custom-dark: #000000;
JSON
{
  "hex": "#8351cb",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 264.59,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55129,
    "c": 0.1821,
    "h": 299.2
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#8351CB
secondary
#C0D5A3
accent
#DD4AA1
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8351CB

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

Preview Lab → · Contrast checker → · Palette generator →

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