#8351CD#8351CD

#8351CD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.184 H 298.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8351CD
RGBrgb(131, 81, 205)
HSLhsl(264, 55%, 56%)
HSVhsv(264, 60%, 80%)
CMYKcmyk(36.1%, 60.5%, 0%, 19.6%)
CIE-LABlab(45.80, 46.65, -56.91)
CIE-LCHlch(45.80, 73.59, 309.35°)
OKLaboklab(55.27% 0.0888 -0.1617)
OKLCHoklch(55.27% 0.184 298.8)
XYZxyz(23.3192, 15.1177, 59.4352)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351CD #9BCD51
analogous
#515DCD #8351CD #C151CD
triadic
#8351CD #CD8351 #51CD83
tetradic
#8351CD #CD515D #9BCD51 #51CDC1
square
#8351CD #CD515D #9BCD51 #51CDC1
split-complementary
#8351CD #CDC151 #5DCD51
monochromatic
#49257F #6432AF #8351CD #A581DB #C7B0E8

Accessibility & contrast

On white

5.22
#8351CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8351CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351CD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351CD#FFFFFF#000000##FFFFFF
##8351CD1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#216BCA
Tritanopia (blue-blind)
#726C87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8351cd;
/* rgb */ color: rgb(131, 81, 205);
/* oklch */ color: oklch(55.3% 0.184 298.8);
Tailwind
colors: {
  custom: {
    50: '#ac84dd',
    500: '#8351cd',
    950: '#000000',
  },
}
SCSS
$custom: #8351cd;
$custom-light: #ac84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8351cd",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 264.194,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55266,
    "c": 0.18447,
    "h": 298.8
  },
  "luminance": 0.15118
}

Semantic roles & 50–950 ramp

primary
#8351CD
secondary
#C2D7A3
accent
#DF49A2
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8351CD

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

Preview Lab → · Contrast checker → · Palette generator →

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