#9231AE#9231AE

#9231AE is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.199 H 317.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9231AE
RGBrgb(146, 49, 174)
HSLhsl(287, 56%, 44%)
HSVhsv(287, 72%, 68%)
CMYKcmyk(16.1%, 71.8%, 0%, 31.8%)
CIE-LABlab(40.19, 58.11, -47.72)
CIE-LCHlch(40.19, 75.19, 320.61°)
OKLaboklab(50.99% 0.1467 -0.134)
OKLCHoklch(50.99% 0.199 317.6)
XYZxyz(20.5913, 11.3645, 41.1451)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231AE #4DAE31
analogous
#5331AE #9231AE #AE318B
triadic
#9231AE #AE9231 #31AE92
tetradic
#9231AE #AE5331 #4DAE31 #318BAE
square
#9231AE #AE5331 #4DAE31 #318BAE
split-complementary
#9231AE #8BAE31 #31AE53
monochromatic
#42164E #6A247E #9231AE #B14FCD #C67FDB

Accessibility & contrast

On white

6.42
#9231AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9231AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231AE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231AE#FFFFFF#000000##FFFFFF
##9231AE1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#3562AB
Tritanopia (blue-blind)
#914A6C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9231ae;
/* rgb */ color: rgb(146, 49, 174);
/* oklch */ color: oklch(51.0% 0.199 317.6);
Tailwind
colors: {
  custom: {
    50: '#b672c7',
    500: '#9231ae',
    950: '#000000',
  },
}
SCSS
$custom: #9231ae;
$custom-light: #b672c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9231ae",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 286.56,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50994,
    "c": 0.19874,
    "h": 317.6
  },
  "luminance": 0.11364
}

Semantic roles & 50–950 ramp

primary
#9231AE
secondary
#88C477
accent
#DF486A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9231AE

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

Preview Lab → · Contrast checker → · Palette generator →

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