#9131AF#9131AF

#9131AF is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.199 H 316.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9131AF
RGBrgb(145, 49, 175)
HSLhsl(286, 56%, 44%)
HSVhsv(286, 72%, 69%)
CMYKcmyk(17.1%, 72%, 0%, 31.4%)
CIE-LABlab(40.10, 58.09, -48.46)
CIE-LCHlch(40.10, 75.65, 320.17°)
OKLaboklab(50.92% 0.1454 -0.1362)
OKLCHoklch(50.92% 0.199 316.9)
XYZxyz(20.5121, 11.3124, 41.6522)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9131AF #4FAF31
analogous
#5231AF #9131AF #AF318E
triadic
#9131AF #AF9131 #31AF91
tetradic
#9131AF #AF5231 #4FAF31 #318EAF
square
#9131AF #AF5231 #4FAF31 #318EAF
split-complementary
#9131AF #8EAF31 #31AF52
monochromatic
#42164F #69247F #9131AF #B04FCE #C57FDB

Accessibility & contrast

On white

6.44
#9131AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9131AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9131AF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9131AF#FFFFFF#000000##FFFFFF
##9131AF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#8F4B6D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9131af;
/* rgb */ color: rgb(145, 49, 175);
/* oklch */ color: oklch(50.9% 0.199 316.9);
Tailwind
colors: {
  custom: {
    50: '#b572c7',
    500: '#9131af',
    950: '#000000',
  },
}
SCSS
$custom: #9131af;
$custom-light: #b572c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9131af",
  "rgb": {
    "r": 145,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 285.714,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50923,
    "c": 0.19926,
    "h": 316.9
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

primary
#9131AF
secondary
#8AC478
accent
#E0486C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9131AF

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

Preview Lab → · Contrast checker → · Palette generator →

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