#9331AF#9331AF

#9331AF is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.2% C 0.200 H 317.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9331AF
RGBrgb(147, 49, 175)
HSLhsl(287, 56%, 44%)
HSVhsv(287, 72%, 69%)
CMYKcmyk(16%, 72%, 0%, 31.4%)
CIE-LABlab(40.40, 58.52, -47.96)
CIE-LCHlch(40.40, 75.66, 320.66°)
OKLaboklab(51.2% 0.1479 -0.1347)
OKLCHoklch(51.2% 0.2 317.7)
XYZxyz(20.8677, 11.4957, 41.6688)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9331AF #4DAF31
analogous
#5431AF #9331AF #AF318C
triadic
#9331AF #AF9331 #31AF93
tetradic
#9331AF #AF5431 #4DAF31 #318CAF
square
#9331AF #AF5431 #4DAF31 #318CAF
split-complementary
#9331AF #8CAF31 #31AF54
monochromatic
#43164F #6B247F #9331AF #B24FCE #C77FDB

Accessibility & contrast

On white

6.37
#9331AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9331AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9331AF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9331AF#FFFFFF#000000##FFFFFF
##9331AF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3562AC
Tritanopia (blue-blind)
#924A6D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9331af;
/* rgb */ color: rgb(147, 49, 175);
/* oklch */ color: oklch(51.2% 0.200 317.7);
Tailwind
colors: {
  custom: {
    50: '#b672c7',
    500: '#9331af',
    950: '#000000',
  },
}
SCSS
$custom: #9331af;
$custom-light: #b672c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9331af",
  "rgb": {
    "r": 147,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 286.667,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.20004,
    "h": 317.7
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#9331AF
secondary
#89C478
accent
#E0486A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9331AF

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

Preview Lab → · Contrast checker → · Palette generator →

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