#8351D0#8351D0

#8351D0 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.188 H 298.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8351D0
RGBrgb(131, 81, 208)
HSLhsl(264, 57%, 57%)
HSVhsv(264, 61%, 82%)
CMYKcmyk(37%, 61.1%, 0%, 18.4%)
CIE-LABlab(45.99, 47.43, -58.31)
CIE-LCHlch(45.99, 75.16, 309.12°)
OKLaboklab(55.47% 0.0887 -0.1658)
OKLCHoklch(55.47% 0.188 298.1)
XYZxyz(23.6848, 15.2639, 61.3607)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351D0 #9ED051
analogous
#515FD0 #8351D0 #C351D0
triadic
#8351D0 #D08351 #51D083
tetradic
#8351D0 #D0515F #9ED051 #51D0C3
square
#8351D0 #D0515F #9ED051 #51D0C3
split-complementary
#8351D0 #D0C351 #5FD051
monochromatic
#492383 #6430B3 #8351D0 #A581DD #C8B1EA

Accessibility & contrast

On white

5.18
#8351D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8351D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351D0
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351D0#FFFFFF#000000##FFFFFF
##8351D01.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#1A6CCD
Tritanopia (blue-blind)
#716D89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8351d0;
/* rgb */ color: rgb(131, 81, 208);
/* oklch */ color: oklch(55.5% 0.188 298.1);
Tailwind
colors: {
  custom: {
    50: '#ac84df',
    500: '#8351d0',
    950: '#000000',
  },
}
SCSS
$custom: #8351d0;
$custom-light: #ac84df;
$custom-dark: #000000;
JSON
{
  "hex": "#8351d0",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 263.622,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55474,
    "c": 0.18804,
    "h": 298.1
  },
  "luminance": 0.15264
}

Semantic roles & 50–950 ramp

primary
#8351D0
secondary
#C4D8A4
accent
#E147A4
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8351D0

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

Preview Lab → · Contrast checker → · Palette generator →

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