#8331BC#8331BC

#8331BC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.207 H 307.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8331BC
RGBrgb(131, 49, 188)
HSLhsl(275, 59%, 46%)
HSVhsv(275, 74%, 74%)
CMYKcmyk(30.3%, 73.9%, 0%, 26.3%)
CIE-LABlab(38.99, 58.04, -58.03)
CIE-LCHlch(38.99, 82.07, 315.00°)
OKLaboklab(50% 0.1253 -0.1648)
OKLCHoklch(50% 0.207 307.2)
XYZxyz(19.5335, 10.6530, 48.5944)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331BC #6ABC31
analogous
#3E31BC #8331BC #BC31B0
triadic
#8331BC #BC8331 #31BC83
tetradic
#8331BC #BC3E31 #6ABC31 #31B0BC
square
#8331BC #BC3E31 #6ABC31 #31B0BC
split-complementary
#8331BC #B0BC31 #31BC3E
monochromatic
#3F185B #61248B #8331BC #A057D3 #BC88E0

Accessibility & contrast

On white

6.71
#8331BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8331BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331BC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331BC#FFFFFF#000000##FFFFFF
##8331BC1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#795274
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8331bc;
/* rgb */ color: rgb(131, 49, 188);
/* oklch */ color: oklch(50.0% 0.207 307.2);
Tailwind
colors: {
  custom: {
    50: '#ac71d1',
    500: '#8331bc',
    950: '#000000',
  },
}
SCSS
$custom: #8331bc;
$custom-light: #ac71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8331bc",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 275.396,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50004,
    "c": 0.20706,
    "h": 307.2
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#8331BC
secondary
#9ECA7F
accent
#E24686
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8331BC

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

Preview Lab → · Contrast checker → · Palette generator →

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