#8331C2#8331C2

#8331C2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.213 H 305.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8331C2
RGBrgb(131, 49, 194)
HSLhsl(274, 60%, 48%)
HSVhsv(274, 75%, 76%)
CMYKcmyk(32.5%, 74.7%, 0%, 23.9%)
CIE-LABlab(39.44, 59.38, -60.82)
CIE-LCHlch(39.44, 85.00, 314.32°)
OKLaboklab(50.46% 0.1242 -0.173)
OKLCHoklch(50.46% 0.213 305.7)
XYZxyz(20.1938, 10.9171, 52.0719)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331C2 #70C231
analogous
#3A31C2 #8331C2 #C231B9
triadic
#8331C2 #C28331 #31C283
tetradic
#8331C2 #C23A31 #70C231 #31B9C2
square
#8331C2 #C23A31 #70C231 #31B9C2
split-complementary
#8331C2 #B9C231 #31C23A
monochromatic
#411860 #622591 #8331C2 #A05BD6 #BC8CE2

Accessibility & contrast

On white

6.60
#8331C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8331C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331C2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331C2#FFFFFF#000000##FFFFFF
##8331C21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#785578
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8331c2;
/* rgb */ color: rgb(131, 49, 194);
/* oklch */ color: oklch(50.5% 0.213 305.7);
Tailwind
colors: {
  custom: {
    50: '#ad71d5',
    500: '#8331c2',
    950: '#000000',
  },
}
SCSS
$custom: #8331c2;
$custom-light: #ad71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8331c2",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 273.931,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50463,
    "c": 0.21295,
    "h": 305.7
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#8331C2
secondary
#A3CC83
accent
#E3458A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8331C2

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

Preview Lab → · Contrast checker → · Palette generator →

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