#8351D2#8351D2

#8351D2 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.190 H 297.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8351D2
RGBrgb(131, 81, 210)
HSLhsl(263, 59%, 57%)
HSVhsv(263, 61%, 82%)
CMYKcmyk(37.6%, 61.4%, 0%, 17.6%)
CIE-LABlab(46.13, 47.94, -59.24)
CIE-LCHlch(46.13, 76.21, 308.98°)
OKLaboklab(55.61% 0.0886 -0.1685)
OKLCHoklch(55.61% 0.19 297.7)
XYZxyz(23.9324, 15.3629, 62.6647)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351D2 #A0D251
analogous
#5160D2 #8351D2 #C451D2
triadic
#8351D2 #D28351 #51D283
tetradic
#8351D2 #D25160 #A0D251 #51D2C4
square
#8351D2 #D25160 #A0D251 #51D2C4
split-complementary
#8351D2 #D2C451 #60D251
monochromatic
#492386 #642FB7 #8351D2 #A682DF #C8B2EB

Accessibility & contrast

On white

5.16
#8351D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8351D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351D2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351D2#FFFFFF#000000##FFFFFF
##8351D21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#156CCF
Tritanopia (blue-blind)
#706D8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8351d2;
/* rgb */ color: rgb(131, 81, 210);
/* oklch */ color: oklch(55.6% 0.190 297.7);
Tailwind
colors: {
  custom: {
    50: '#ac84e1',
    500: '#8351d2',
    950: '#000000',
  },
}
SCSS
$custom: #8351d2;
$custom-light: #ac84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8351d2",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 263.256,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55614,
    "c": 0.19041,
    "h": 297.7
  },
  "luminance": 0.15363
}

Semantic roles & 50–950 ramp

primary
#8351D2
secondary
#C5DAA5
accent
#E246A5
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8351D2

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

Preview Lab → · Contrast checker → · Palette generator →

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