#9131C7#9131C7

#9131C7 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.6% C 0.221 H 309.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9131C7
RGBrgb(145, 49, 199)
HSLhsl(278, 60%, 49%)
HSVhsv(278, 75%, 78%)
CMYKcmyk(27.1%, 75.4%, 0%, 22%)
CIE-LABlab(41.75, 63.02, -59.89)
CIE-LCHlch(41.75, 86.94, 316.46°)
OKLaboklab(52.62% 0.142 -0.1698)
OKLCHoklch(52.62% 0.221 309.9)
XYZxyz(23.0821, 12.3404, 55.1877)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9131C7 #67C731
analogous
#4631C7 #9131C7 #C731B2
triadic
#9131C7 #C79131 #31C791
tetradic
#9131C7 #C74631 #67C731 #31B2C7
square
#9131C7 #C74631 #67C731 #31B2C7
split-complementary
#9131C7 #B2C731 #31C746
monochromatic
#491965 #6D2596 #9131C7 #AC5ED7 #C58FE3

Accessibility & contrast

On white

6.06
#9131C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9131C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9131C7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9131C7#FFFFFF#000000##FFFFFF
##9131C71.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0164C4
Tritanopia (blue-blind)
#89557A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9131c7;
/* rgb */ color: rgb(145, 49, 199);
/* oklch */ color: oklch(52.6% 0.221 309.9);
Tailwind
colors: {
  custom: {
    50: '#b673d9',
    500: '#9131c7',
    950: '#000000',
  },
}
SCSS
$custom: #9131c7;
$custom-light: #b673d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9131c7",
  "rgb": {
    "r": 145,
    "g": 49,
    "b": 199
  },
  "hsl": {
    "h": 278.4,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52615,
    "c": 0.22135,
    "h": 309.9
  },
  "luminance": 0.1234
}

Semantic roles & 50–950 ramp

primary
#9131C7
secondary
#A0CE86
accent
#E4447E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9131C7

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

Preview Lab → · Contrast checker → · Palette generator →

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