#9131C2#9131C2

#9131C2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.2% C 0.217 H 311.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9131C2
RGBrgb(145, 49, 194)
HSLhsl(280, 60%, 48%)
HSVhsv(280, 75%, 76%)
CMYKcmyk(25.3%, 74.7%, 0%, 23.9%)
CIE-LABlab(41.39, 61.97, -57.56)
CIE-LCHlch(41.39, 84.57, 317.11°)
OKLaboklab(52.25% 0.1429 -0.163)
OKLCHoklch(52.25% 0.217 311.2)
XYZxyz(22.5111, 12.1120, 52.1805)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9131C2 #62C231
analogous
#4831C2 #9131C2 #C231AB
triadic
#9131C2 #C29131 #31C291
tetradic
#9131C2 #C24831 #62C231 #31ABC2
square
#9131C2 #C24831 #62C231 #31ABC2
split-complementary
#9131C2 #ABC231 #31C248
monochromatic
#481860 #6C2591 #9131C2 #AC5BD6 #C58CE2

Accessibility & contrast

On white

6.14
#9131C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9131C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9131C2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9131C2#FFFFFF#000000##FFFFFF
##9131C21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#1563BF
Tritanopia (blue-blind)
#8B5378
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9131c2;
/* rgb */ color: rgb(145, 49, 194);
/* oklch */ color: oklch(52.2% 0.217 311.2);
Tailwind
colors: {
  custom: {
    50: '#b673d5',
    500: '#9131c2',
    950: '#000000',
  },
}
SCSS
$custom: #9131c2;
$custom-light: #b673d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9131c2",
  "rgb": {
    "r": 145,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 279.724,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.21672,
    "h": 311.2
  },
  "luminance": 0.12111
}

Semantic roles & 50–950 ramp

primary
#9131C2
secondary
#9CCC83
accent
#E3457A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9131C2

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

Preview Lab → · Contrast checker → · Palette generator →

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