#8331ED#8331ED

#8331ED is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 54.0% C 0.255 H 296.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8331ED
RGBrgb(131, 49, 237)
HSLhsl(266, 84%, 56%)
HSVhsv(266, 79%, 93%)
CMYKcmyk(44.7%, 79.3%, 0%, 7.1%)
CIE-LABlab(42.97, 69.32, -79.76)
CIE-LCHlch(42.97, 105.68, 310.99°)
OKLaboklab(54.02% 0.1129 -0.2286)
OKLCHoklch(54.02% 0.255 296.3)
XYZxyz(25.7404, 13.1357, 81.2836)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8331ED #9BED31
analogous
#313DED #8331ED #E131ED
triadic
#8331ED #ED8331 #31ED83
tetradic
#8331ED #ED313D #9BED31 #31EDE1
square
#8331ED #ED313D #9BED31 #31EDE1
split-complementary
#8331ED #EDE131 #3DED31
monochromatic
#490D96 #6412CF #8331ED #A569F2 #C7A2F7

Accessibility & contrast

On white

5.79
#8331ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8331ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8331ED
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8331ED#FFFFFF#000000##FFFFFF
##8331ED1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066F2
Deuteranopia (green-blind)
#0063EA
Tritanopia (blue-blind)
#656790
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8331ed;
/* rgb */ color: rgb(131, 49, 237);
/* oklch */ color: oklch(54.0% 0.255 296.3);
Tailwind
colors: {
  custom: {
    50: '#b173f4',
    500: '#8331ed',
    950: '#000000',
  },
}
SCSS
$custom: #8331ed;
$custom-light: #b173f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8331ed",
  "rgb": {
    "r": 131,
    "g": 49,
    "b": 237
  },
  "hsl": {
    "h": 266.17,
    "s": 83.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54015,
    "c": 0.255,
    "h": 296.3
  },
  "luminance": 0.13136
}

Semantic roles & 50–950 ramp

primary
#8331ED
secondary
#C2E496
accent
#FA2EA1
background
#FBF7FF
surface
#F6EDFF
border
#D0C8D7
text
#120917
muted
#817B85

Preview Lab

Preview with #8331ED

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

Preview Lab → · Contrast checker → · Palette generator →

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