#9231A4#9231A4

#9231A4 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.190 H 321.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9231A4
RGBrgb(146, 49, 164)
HSLhsl(291, 54%, 42%)
HSVhsv(291, 70%, 64%)
CMYKcmyk(11%, 70.1%, 0%, 35.7%)
CIE-LABlab(39.56, 56.17, -42.76)
CIE-LCHlch(39.56, 70.59, 322.72°)
OKLaboklab(50.35% 0.1474 -0.1195)
OKLCHoklch(50.35% 0.19 321)
XYZxyz(19.6524, 10.9890, 36.2007)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231A4 #43A431
analogous
#5931A4 #9231A4 #A4317D
triadic
#9231A4 #A49231 #31A492
tetradic
#9231A4 #A45931 #43A431 #317DA4
square
#9231A4 #A45931 #43A431 #317DA4
split-complementary
#9231A4 #7DA431 #31A459
monochromatic
#3E1546 #682375 #9231A4 #B549C9 #C879D7

Accessibility & contrast

On white

6.57
#9231A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9231A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231A4
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231A4#FFFFFF#000000##FFFFFF
##9231A41.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#3D61A1
Tritanopia (blue-blind)
#934667
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9231a4;
/* rgb */ color: rgb(146, 49, 164);
/* oklch */ color: oklch(50.3% 0.190 321.0);
Tailwind
colors: {
  custom: {
    50: '#b572bf',
    500: '#9231a4',
    950: '#000000',
  },
}
SCSS
$custom: #9231a4;
$custom-light: #b572bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9231a4",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 290.609,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50347,
    "c": 0.18976,
    "h": 321
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#9231A4
secondary
#7EBF72
accent
#DD4A61
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9231A4

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

Preview Lab → · Contrast checker → · Palette generator →

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