#9131E2#9131E2

#9131E2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.7% C 0.246 H 303.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9131E2
RGBrgb(145, 49, 226)
HSLhsl(273, 75%, 54%)
HSVhsv(273, 78%, 89%)
CMYKcmyk(35.8%, 78.3%, 0%, 11.4%)
CIE-LABlab(43.81, 68.84, -72.07)
CIE-LCHlch(43.81, 99.67, 313.68°)
OKLaboklab(54.7% 0.1359 -0.2056)
OKLCHoklch(54.7% 0.246 303.5)
XYZxyz(26.4996, 13.7074, 73.1865)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9131E2 #82E231
analogous
#3931E2 #9131E2 #E231DB
triadic
#9131E2 #E29131 #31E291
tetradic
#9131E2 #E23931 #82E231 #31DBE2
square
#9131E2 #E23931 #82E231 #31DBE2
split-complementary
#9131E2 #DBE231 #31E239
monochromatic
#511386 #721ABB #9131E2 #AE67EA #CA9CF1

Accessibility & contrast

On white

5.61
#9131E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9131E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9131E2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9131E2#FFFFFF#000000##FFFFFF
##9131E21.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9131e2;
/* rgb */ color: rgb(145, 49, 226);
/* oklch */ color: oklch(54.7% 0.246 303.5);
Tailwind
colors: {
  custom: {
    50: '#b874ec',
    500: '#9131e2',
    950: '#000000',
  },
}
SCSS
$custom: #9131e2;
$custom-light: #b874ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9131e2",
  "rgb": {
    "r": 145,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 272.542,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.547,
    "c": 0.24644,
    "h": 303.5
  },
  "luminance": 0.13707
}

Semantic roles & 50–950 ramp

primary
#9131E2
secondary
#B4DD92
accent
#F2368C
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9131E2

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

Preview Lab → · Contrast checker → · Palette generator →

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