#8331BE#8331BE

#8331BE is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.209 H 306.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8331BE
RGBrgb(131, 49, 190)
HSLhsl(275, 59%, 47%)
HSVhsv(275, 74%, 75%)
CMYKcmyk(31.1%, 74.2%, 0%, 25.5%)
CIE-LABlab(39.14, 58.49, -58.96)
CIE-LCHlch(39.14, 83.05, 314.77°)
OKLaboklab(50.16% 0.125 -0.1676)
OKLCHoklch(50.16% 0.209 306.7)
XYZxyz(19.7506, 10.7398, 49.7377)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331BE #6CBE31
analogous
#3D31BE #8331BE #BE31B3
triadic
#8331BE #BE8331 #31BE83
tetradic
#8331BE #BE3D31 #6CBE31 #31B3BE
square
#8331BE #BE3D31 #6CBE31 #31B3BE
split-complementary
#8331BE #B3BE31 #31BE3D
monochromatic
#40185D #61248D #8331BE #A058D4 #BC89E1

Accessibility & contrast

On white

6.67
#8331BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8331BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331BE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331BE#FFFFFF#000000##FFFFFF
##8331BE1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#795375
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8331be;
/* rgb */ color: rgb(131, 49, 190);
/* oklch */ color: oklch(50.2% 0.209 306.7);
Tailwind
colors: {
  custom: {
    50: '#ac71d2',
    500: '#8331be',
    950: '#000000',
  },
}
SCSS
$custom: #8331be;
$custom-light: #ac71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8331be",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 274.894,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.20903,
    "h": 306.7
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#8331BE
secondary
#9FCA80
accent
#E24687
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8331BE

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

Preview Lab → · Contrast checker → · Palette generator →

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