#8351CC#8351CC

#8351CC is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.183 H 299.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8351CC
RGBrgb(131, 81, 204)
HSLhsl(264, 55%, 56%)
HSVhsv(264, 60%, 80%)
CMYKcmyk(35.8%, 60.3%, 0%, 20%)
CIE-LABlab(45.73, 46.40, -56.44)
CIE-LCHlch(45.73, 73.06, 309.42°)
OKLaboklab(55.2% 0.0889 -0.1603)
OKLCHoklch(55.2% 0.183 299)
XYZxyz(23.1989, 15.0695, 58.8015)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351CC #9ACC51
analogous
#515CCC #8351CC #C051CC
triadic
#8351CC #CC8351 #51CC83
tetradic
#8351CC #CC515C #9ACC51 #51CCC0
square
#8351CC #CC515C #9ACC51 #51CCC0
split-complementary
#8351CC #CCC051 #5CCC51
monochromatic
#49257E #6433AD #8351CC #A580DA #C6B0E8

Accessibility & contrast

On white

5.23
#8351CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8351CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351CC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351CC#FFFFFF#000000##FFFFFF
##8351CC1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#236BC9
Tritanopia (blue-blind)
#736B87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8351cc;
/* rgb */ color: rgb(131, 81, 204);
/* oklch */ color: oklch(55.2% 0.183 299.0);
Tailwind
colors: {
  custom: {
    50: '#ac84dc',
    500: '#8351cc',
    950: '#000000',
  },
}
SCSS
$custom: #8351cc;
$custom-light: #ac84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8351cc",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 264.39,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55197,
    "c": 0.18328,
    "h": 299
  },
  "luminance": 0.1507
}

Semantic roles & 50–950 ramp

primary
#8351CC
secondary
#C1D6A3
accent
#DE4AA2
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8351CC

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

Preview Lab → · Contrast checker → · Palette generator →

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