#9231B9#9231B9

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

Color values

HEX#9231B9
RGBrgb(146, 49, 185)
HSLhsl(283, 58%, 46%)
HSVhsv(283, 74%, 73%)
CMYKcmyk(21.1%, 73.5%, 0%, 27.5%)
CIE-LABlab(40.91, 60.31, -53.05)
CIE-LCHlch(40.91, 80.32, 318.66°)
OKLaboklab(51.74% 0.1455 -0.1497)
OKLCHoklch(51.74% 0.209 314.2)
XYZxyz(21.7078, 11.8111, 47.0258)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231B9 #58B931
analogous
#4E31B9 #9231B9 #B9319C
triadic
#9231B9 #B99231 #31B992
tetradic
#9231B9 #B94E31 #58B931 #319CB9
square
#9231B9 #B94E31 #58B931 #319CB9
split-complementary
#9231B9 #9CB931 #31B94E
monochromatic
#461758 #6C2489 #9231B9 #AE55D2 #C586DF

Accessibility & contrast

On white

6.25
#9231B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9231B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231B9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231B9#FFFFFF#000000##FFFFFF
##9231B91.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#2863B6
Tritanopia (blue-blind)
#8E4F73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9231b9;
/* rgb */ color: rgb(146, 49, 185);
/* oklch */ color: oklch(51.7% 0.209 314.2);
Tailwind
colors: {
  custom: {
    50: '#b673cf',
    500: '#9231b9',
    950: '#000000',
  },
}
SCSS
$custom: #9231b9;
$custom-light: #b673cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9231b9",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 282.794,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51742,
    "c": 0.20877,
    "h": 314.2
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#9231B9
secondary
#93C87D
accent
#E14673
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9231B9

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

Preview Lab → · Contrast checker → · Palette generator →

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