#8331B3#8331B3

#8331B3 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.198 H 309.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8331B3
RGBrgb(131, 49, 179)
HSLhsl(278, 57%, 45%)
HSVhsv(278, 73%, 70%)
CMYKcmyk(26.8%, 72.6%, 0%, 29.8%)
CIE-LABlab(38.34, 56.05, -53.78)
CIE-LCHlch(38.34, 77.68, 316.18°)
OKLaboklab(49.33% 0.1268 -0.1523)
OKLCHoklch(49.33% 0.198 309.8)
XYZxyz(18.5935, 10.2770, 43.6433)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331B3 #61B331
analogous
#4231B3 #8331B3 #B331A2
triadic
#8331B3 #B38331 #31B383
tetradic
#8331B3 #B34231 #61B331 #31A2B3
square
#8331B3 #B34231 #61B331 #31A2B3
split-complementary
#8331B3 #A2B331 #31B342
monochromatic
#3D1753 #602483 #8331B3 #A152D0 #BB82DD

Accessibility & contrast

On white

6.87
#8331B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8331B3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331B3#FFFFFF#000000##FFFFFF
##8331B31.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#145BB0
Tritanopia (blue-blind)
#7C4F6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8331b3;
/* rgb */ color: rgb(131, 49, 179);
/* oklch */ color: oklch(49.3% 0.198 309.8);
Tailwind
colors: {
  custom: {
    50: '#ac71ca',
    500: '#8331b3',
    950: '#000000',
  },
}
SCSS
$custom: #8331b3;
$custom-light: #ac71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8331b3",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 277.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.19823,
    "h": 309.8
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#8331B3
secondary
#96C67A
accent
#E04880
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8331B3

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

Preview Lab → · Contrast checker → · Palette generator →

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