#8331C1#8331C1

#8331C1 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.212 H 305.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8331C1
RGBrgb(131, 49, 193)
HSLhsl(274, 60%, 47%)
HSVhsv(274, 75%, 76%)
CMYKcmyk(32.1%, 74.6%, 0%, 24.3%)
CIE-LABlab(39.36, 59.16, -60.35)
CIE-LCHlch(39.36, 84.51, 314.43°)
OKLaboklab(50.39% 0.1244 -0.1717)
OKLCHoklch(50.39% 0.212 305.9)
XYZxyz(20.0819, 10.8724, 51.4824)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331C1 #6FC131
analogous
#3B31C1 #8331C1 #C131B7
triadic
#8331C1 #C18331 #31C183
tetradic
#8331C1 #C13B31 #6FC131 #31B7C1
square
#8331C1 #C13B31 #6FC131 #31B7C1
split-complementary
#8331C1 #B7C131 #31C13B
monochromatic
#41185F #622590 #8331C1 #A05AD5 #BC8BE2

Accessibility & contrast

On white

6.62
#8331C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8331C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331C1
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331C1#FFFFFF#000000##FFFFFF
##8331C11.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#785477
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8331c1;
/* rgb */ color: rgb(131, 49, 193);
/* oklch */ color: oklch(50.4% 0.212 305.9);
Tailwind
colors: {
  custom: {
    50: '#ac71d5',
    500: '#8331c1',
    950: '#000000',
  },
}
SCSS
$custom: #8331c1;
$custom-light: #ac71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8331c1",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 274.167,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50386,
    "c": 0.21197,
    "h": 305.9
  },
  "luminance": 0.10872
}

Semantic roles & 50–950 ramp

primary
#8331C1
secondary
#A2CC82
accent
#E34589
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8331C1

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

Preview Lab → · Contrast checker → · Palette generator →

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