#9231B8#9231B8

#9231B8 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.208 H 314.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9231B8
RGBrgb(146, 49, 184)
HSLhsl(283, 58%, 46%)
HSVhsv(283, 73%, 72%)
CMYKcmyk(20.7%, 73.4%, 0%, 27.8%)
CIE-LABlab(40.85, 60.11, -52.57)
CIE-LCHlch(40.85, 79.85, 318.83°)
OKLaboklab(51.67% 0.1457 -0.1483)
OKLCHoklch(51.67% 0.208 314.5)
XYZxyz(21.6027, 11.7691, 46.4718)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231B8 #57B831
analogous
#4E31B8 #9231B8 #B8319A
triadic
#9231B8 #B89231 #31B892
tetradic
#9231B8 #B84E31 #57B831 #319AB8
square
#9231B8 #B84E31 #57B831 #319AB8
split-complementary
#9231B8 #9AB831 #31B84E
monochromatic
#451757 #6C2488 #9231B8 #AE55D2 #C585DE

Accessibility & contrast

On white

6.26
#9231B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9231B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231B8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231B8#FFFFFF#000000##FFFFFF
##9231B81.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#2A63B5
Tritanopia (blue-blind)
#8F4E72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9231b8;
/* rgb */ color: rgb(146, 49, 184);
/* oklch */ color: oklch(51.7% 0.208 314.5);
Tailwind
colors: {
  custom: {
    50: '#b673ce',
    500: '#9231b8',
    950: '#000000',
  },
}
SCSS
$custom: #9231b8;
$custom-light: #b673ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9231b8",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 283.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51673,
    "c": 0.20785,
    "h": 314.5
  },
  "luminance": 0.11768
}

Semantic roles & 50–950 ramp

primary
#9231B8
secondary
#92C87D
accent
#E14772
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9231B8

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

Preview Lab → · Contrast checker → · Palette generator →

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