#8351CF#8351CF

#8351CF is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.187 H 298.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8351CF
RGBrgb(131, 81, 207)
HSLhsl(264, 57%, 56%)
HSVhsv(264, 61%, 81%)
CMYKcmyk(36.7%, 60.9%, 0%, 18.8%)
CIE-LABlab(45.93, 47.17, -57.85)
CIE-LCHlch(45.93, 74.64, 309.19°)
OKLaboklab(55.41% 0.0888 -0.1644)
OKLCHoklch(55.41% 0.187 298.4)
XYZxyz(23.5622, 15.2148, 60.7148)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351CF #9DCF51
analogous
#515ECF #8351CF #C251CF
triadic
#8351CF #CF8351 #51CF83
tetradic
#8351CF #CF515E #9DCF51 #51CFC2
square
#8351CF #CF515E #9DCF51 #51CFC2
split-complementary
#8351CF #CFC251 #5ECF51
monochromatic
#492482 #6431B2 #8351CF #A581DC #C7B1E9

Accessibility & contrast

On white

5.19
#8351CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8351CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351CF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351CF#FFFFFF#000000##FFFFFF
##8351CF1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#1C6BCC
Tritanopia (blue-blind)
#726C88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8351cf;
/* rgb */ color: rgb(131, 81, 207);
/* oklch */ color: oklch(55.4% 0.187 298.4);
Tailwind
colors: {
  custom: {
    50: '#ac84de',
    500: '#8351cf',
    950: '#000000',
  },
}
SCSS
$custom: #8351cf;
$custom-light: #ac84de;
$custom-dark: #000000;
JSON
{
  "hex": "#8351cf",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 263.81,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.18685,
    "h": 298.4
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#8351CF
secondary
#C3D8A4
accent
#E048A4
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8351CF

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

Preview Lab → · Contrast checker → · Palette generator →

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