#8331C0#8331C0

#8331C0 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.211 H 306.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8331C0
RGBrgb(131, 49, 192)
HSLhsl(274, 59%, 47%)
HSVhsv(274, 74%, 75%)
CMYKcmyk(31.8%, 74.5%, 0%, 24.7%)
CIE-LABlab(39.29, 58.93, -59.89)
CIE-LCHlch(39.29, 84.03, 314.54°)
OKLaboklab(50.31% 0.1246 -0.1703)
OKLCHoklch(50.31% 0.211 306.2)
XYZxyz(19.9707, 10.8279, 50.8969)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331C0 #6EC031
analogous
#3C31C0 #8331C0 #C031B5
triadic
#8331C0 #C08331 #31C083
tetradic
#8331C0 #C03C31 #6EC031 #31B5C0
square
#8331C0 #C03C31 #6EC031 #31B5C0
split-complementary
#8331C0 #B5C031 #31C03C
monochromatic
#40185E #62258F #8331C0 #A059D5 #BC8AE1

Accessibility & contrast

On white

6.63
#8331C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8331C0
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331C0#FFFFFF#000000##FFFFFF
##8331C01.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#785476
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8331c0;
/* rgb */ color: rgb(131, 49, 192);
/* oklch */ color: oklch(50.3% 0.211 306.2);
Tailwind
colors: {
  custom: {
    50: '#ac71d4',
    500: '#8331c0',
    950: '#000000',
  },
}
SCSS
$custom: #8331c0;
$custom-light: #ac71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8331c0",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 274.406,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.21099,
    "h": 306.2
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

primary
#8331C0
secondary
#A1CB82
accent
#E34588
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8331C0

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

Preview Lab → · Contrast checker → · Palette generator →

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