#9331E2#9331E2

#9331E2 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.9% C 0.247 H 304.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9331E2
RGBrgb(147, 49, 226)
HSLhsl(273, 75%, 54%)
HSVhsv(273, 78%, 89%)
CMYKcmyk(35%, 78.3%, 0%, 11.4%)
CIE-LABlab(44.08, 69.15, -71.63)
CIE-LCHlch(44.08, 99.56, 313.99°)
OKLaboklab(54.94% 0.1386 -0.2042)
OKLCHoklch(54.94% 0.247 304.2)
XYZxyz(26.8552, 13.8907, 73.2031)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331E2 #80E231
analogous
#3B31E2 #9331E2 #E231D9
triadic
#9331E2 #E29331 #31E293
tetradic
#9331E2 #E23B31 #80E231 #31D9E2
square
#9331E2 #E23B31 #80E231 #31D9E2
split-complementary
#9331E2 #D9E231 #31E23B
monochromatic
#521386 #741ABB #9331E2 #AF67EA #CB9CF1

Accessibility & contrast

On white

5.56
#9331E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9331E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331E2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331E2#FFFFFF#000000##FFFFFF
##9331E21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#83608A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9331e2;
/* rgb */ color: rgb(147, 49, 226);
/* oklch */ color: oklch(54.9% 0.247 304.2);
Tailwind
colors: {
  custom: {
    50: '#b975ec',
    500: '#9331e2',
    950: '#000000',
  },
}
SCSS
$custom: #9331e2;
$custom-light: #b975ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9331e2",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 273.22,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54942,
    "c": 0.24684,
    "h": 304.2
  },
  "luminance": 0.13891
}

Semantic roles & 50–950 ramp

primary
#9331E2
secondary
#B3DD92
accent
#F2368A
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9331E2

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

Preview Lab → · Contrast checker → · Palette generator →

#9331E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva