#9131C6#9131C6

#9131C6 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.5% C 0.220 H 310.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9131C6
RGBrgb(145, 49, 198)
HSLhsl(279, 60%, 48%)
HSVhsv(279, 75%, 78%)
CMYKcmyk(26.8%, 75.3%, 0%, 22.4%)
CIE-LABlab(41.68, 62.81, -59.43)
CIE-LCHlch(41.68, 86.46, 316.58°)
OKLaboklab(52.54% 0.1422 -0.1684)
OKLCHoklch(52.54% 0.22 310.2)
XYZxyz(22.9664, 12.2941, 54.5783)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9131C6 #66C631
analogous
#4731C6 #9131C6 #C631B0
triadic
#9131C6 #C69131 #31C691
tetradic
#9131C6 #C64731 #66C631 #31B0C6
square
#9131C6 #C64731 #66C631 #31B0C6
split-complementary
#9131C6 #B0C631 #31C647
monochromatic
#491964 #6D2595 #9131C6 #AC5DD7 #C58EE3

Accessibility & contrast

On white

6.07
#9131C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9131C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9131C6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9131C6#FFFFFF#000000##FFFFFF
##9131C61.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#0664C3
Tritanopia (blue-blind)
#8A547A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9131c6;
/* rgb */ color: rgb(145, 49, 198);
/* oklch */ color: oklch(52.5% 0.220 310.2);
Tailwind
colors: {
  custom: {
    50: '#b673d8',
    500: '#9131c6',
    950: '#000000',
  },
}
SCSS
$custom: #9131c6;
$custom-light: #b673d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9131c6",
  "rgb": {
    "r": 145,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 278.658,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.22043,
    "h": 310.2
  },
  "luminance": 0.12294
}

Semantic roles & 50–950 ramp

primary
#9131C6
secondary
#9FCE85
accent
#E3447D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #9131C6

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

Preview Lab → · Contrast checker → · Palette generator →

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