#9131A2#9131A2

#9131A2 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.188 H 321.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9131A2
RGBrgb(145, 49, 162)
HSLhsl(291, 54%, 41%)
HSVhsv(291, 70%, 64%)
CMYKcmyk(10.5%, 69.8%, 0%, 36.5%)
CIE-LABlab(39.29, 55.56, -42.01)
CIE-LCHlch(39.29, 69.66, 322.91°)
OKLaboklab(50.08% 0.1463 -0.1174)
OKLCHoklch(50.08% 0.188 321.3)
XYZxyz(19.2962, 10.8260, 35.2486)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9131A2 #42A231
analogous
#5831A2 #9131A2 #A2317B
triadic
#9131A2 #A29131 #31A291
tetradic
#9131A2 #A25831 #42A231 #317BA2
square
#9131A2 #A25831 #42A231 #317BA2
split-complementary
#9131A2 #7BA231 #31A258
monochromatic
#3D1544 #672373 #9131A2 #B548C8 #C877D6

Accessibility & contrast

On white

6.64
#9131A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9131A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9131A2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9131A2#FFFFFF#000000##FFFFFF
##9131A21.006.643.176.64
#FFFFFF6.641.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A5
Deuteranopia (green-blind)
#3E609F
Tritanopia (blue-blind)
#924566
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9131a2;
/* rgb */ color: rgb(145, 49, 162);
/* oklch */ color: oklch(50.1% 0.188 321.3);
Tailwind
colors: {
  custom: {
    50: '#b572be',
    500: '#9131a2',
    950: '#000000',
  },
}
SCSS
$custom: #9131a2;
$custom-light: #b572be;
$custom-dark: #000000;
JSON
{
  "hex": "#9131a2",
  "rgb": {
    "r": 145,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 290.973,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.18752,
    "h": 321.3
  },
  "luminance": 0.10825
}

Semantic roles & 50–950 ramp

primary
#9131A2
secondary
#7CBE71
accent
#DD4B61
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #9131A2

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

Preview Lab → · Contrast checker → · Palette generator →

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