#8331B4#8331B4

#8331B4 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.4% C 0.199 H 309.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8331B4
RGBrgb(131, 49, 180)
HSLhsl(278, 57%, 45%)
HSVhsv(278, 73%, 71%)
CMYKcmyk(27.2%, 72.8%, 0%, 29.4%)
CIE-LABlab(38.41, 56.27, -54.26)
CIE-LCHlch(38.41, 78.17, 316.04°)
OKLaboklab(49.41% 0.1267 -0.1537)
OKLCHoklch(49.41% 0.199 309.5)
XYZxyz(18.6950, 10.3176, 44.1778)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331B4 #62B431
analogous
#4131B4 #8331B4 #B431A4
triadic
#8331B4 #B48331 #31B483
tetradic
#8331B4 #B44131 #62B431 #31A4B4
square
#8331B4 #B44131 #62B431 #31A4B4
split-complementary
#8331B4 #A4B431 #31B441
monochromatic
#3D1754 #602484 #8331B4 #A152D0 #BB82DD

Accessibility & contrast

On white

6.86
#8331B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8331B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331B4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331B4#FFFFFF#000000##FFFFFF
##8331B41.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#115CB1
Tritanopia (blue-blind)
#7C4F70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8331b4;
/* rgb */ color: rgb(131, 49, 180);
/* oklch */ color: oklch(49.4% 0.199 309.5);
Tailwind
colors: {
  custom: {
    50: '#ac71cb',
    500: '#8331b4',
    950: '#000000',
  },
}
SCSS
$custom: #8331b4;
$custom-light: #ac71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8331b4",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 277.557,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49407,
    "c": 0.19921,
    "h": 309.5
  },
  "luminance": 0.10317
}

Semantic roles & 50–950 ramp

primary
#8331B4
secondary
#97C67B
accent
#E04781
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8331B4

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

Preview Lab → · Contrast checker → · Palette generator →

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