#8331C4#8331C4

#8331C4 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.215 H 305.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8331C4
RGBrgb(131, 49, 196)
HSLhsl(273, 60%, 48%)
HSVhsv(273, 75%, 77%)
CMYKcmyk(33.2%, 75%, 0%, 23.1%)
CIE-LABlab(39.59, 59.84, -61.74)
CIE-LCHlch(39.59, 85.97, 314.10°)
OKLaboklab(50.62% 0.1237 -0.1757)
OKLCHoklch(50.62% 0.215 305.2)
XYZxyz(20.4199, 11.0076, 53.2628)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331C4 #72C431
analogous
#3931C4 #8331C4 #C431BC
triadic
#8331C4 #C48331 #31C483
tetradic
#8331C4 #C43931 #72C431 #31BCC4
square
#8331C4 #C43931 #72C431 #31BCC4
split-complementary
#8331C4 #BCC431 #31C439
monochromatic
#421962 #622593 #8331C4 #A05CD6 #BD8DE2

Accessibility & contrast

On white

6.56
#8331C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8331C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331C4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331C4#FFFFFF#000000##FFFFFF
##8331C41.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#775679
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8331c4;
/* rgb */ color: rgb(131, 49, 196);
/* oklch */ color: oklch(50.6% 0.215 305.2);
Tailwind
colors: {
  custom: {
    50: '#ad71d7',
    500: '#8331c4',
    950: '#000000',
  },
}
SCSS
$custom: #8331c4;
$custom-light: #ad71d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8331c4",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 273.469,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50618,
    "c": 0.21491,
    "h": 305.2
  },
  "luminance": 0.11007
}

Semantic roles & 50–950 ramp

primary
#8331C4
secondary
#A4CD84
accent
#E3458B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8331C4

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

Preview Lab → · Contrast checker → · Palette generator →

#8331C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva