#9231A2#9231A2

#9231A2 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.188 H 321.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9231A2
RGBrgb(146, 49, 162)
HSLhsl(292, 54%, 41%)
HSVhsv(292, 70%, 64%)
CMYKcmyk(9.9%, 69.8%, 0%, 36.5%)
CIE-LABlab(39.44, 55.79, -41.75)
CIE-LCHlch(39.44, 69.68, 323.19°)
OKLaboklab(50.22% 0.1475 -0.1166)
OKLCHoklch(50.22% 0.188 321.7)
XYZxyz(19.4732, 10.9173, 35.2569)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231A2 #41A231
analogous
#5A31A2 #9231A2 #A2317A
triadic
#9231A2 #A29231 #31A292
tetradic
#9231A2 #A25A31 #41A231 #317AA2
square
#9231A2 #A25A31 #41A231 #317AA2
split-complementary
#9231A2 #7AA231 #31A25A
monochromatic
#3D1544 #682373 #9231A2 #B648C8 #C977D6

Accessibility & contrast

On white

6.60
#9231A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9231A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231A2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231A2#FFFFFF#000000##FFFFFF
##9231A21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0756A5
Deuteranopia (green-blind)
#3F619F
Tritanopia (blue-blind)
#934566
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9231a2;
/* rgb */ color: rgb(146, 49, 162);
/* oklch */ color: oklch(50.2% 0.188 321.7);
Tailwind
colors: {
  custom: {
    50: '#b572be',
    500: '#9231a2',
    950: '#000000',
  },
}
SCSS
$custom: #9231a2;
$custom-light: #b572be;
$custom-dark: #000000;
JSON
{
  "hex": "#9231a2",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 291.504,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50221,
    "c": 0.18798,
    "h": 321.7
  },
  "luminance": 0.10916
}

Semantic roles & 50–950 ramp

primary
#9231A2
secondary
#7CBE71
accent
#DD4B60
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9231A2

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

Preview Lab → · Contrast checker → · Palette generator →

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