#9231AF#9231AF

#9231AF is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.200 H 317.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9231AF
RGBrgb(146, 49, 175)
HSLhsl(286, 56%, 44%)
HSVhsv(286, 72%, 69%)
CMYKcmyk(16.6%, 72%, 0%, 31.4%)
CIE-LABlab(40.25, 58.31, -48.21)
CIE-LCHlch(40.25, 75.66, 320.42°)
OKLaboklab(51.06% 0.1466 -0.1355)
OKLCHoklch(51.06% 0.2 317.3)
XYZxyz(20.6891, 11.4036, 41.6604)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231AF #4EAF31
analogous
#5331AF #9231AF #AF318D
triadic
#9231AF #AF9231 #31AF92
tetradic
#9231AF #AF5331 #4EAF31 #318DAF
square
#9231AF #AF5331 #4EAF31 #318DAF
split-complementary
#9231AF #8DAF31 #31AF53
monochromatic
#42164F #6A247F #9231AF #B14FCE #C67FDB

Accessibility & contrast

On white

6.40
#9231AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9231AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231AF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231AF#FFFFFF#000000##FFFFFF
##9231AF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9231af;
/* rgb */ color: rgb(146, 49, 175);
/* oklch */ color: oklch(51.1% 0.200 317.3);
Tailwind
colors: {
  custom: {
    50: '#b672c7',
    500: '#9231af',
    950: '#000000',
  },
}
SCSS
$custom: #9231af;
$custom-light: #b672c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9231af",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 286.19,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51061,
    "c": 0.19965,
    "h": 317.3
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

primary
#9231AF
secondary
#89C478
accent
#E0486B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9231AF

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

Preview Lab → · Contrast checker → · Palette generator →

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