#9231B5#9231B5

#9231B5 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.205 H 315.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9231B5
RGBrgb(146, 49, 181)
HSLhsl(284, 57%, 45%)
HSVhsv(284, 73%, 71%)
CMYKcmyk(19.3%, 72.9%, 0%, 29%)
CIE-LABlab(40.65, 59.50, -51.13)
CIE-LCHlch(40.65, 78.45, 319.33°)
OKLaboklab(51.47% 0.146 -0.144)
OKLCHoklch(51.47% 0.205 315.4)
XYZxyz(21.2915, 11.6446, 44.8332)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231B5 #54B531
analogous
#5031B5 #9231B5 #B53196
triadic
#9231B5 #B59231 #31B592
tetradic
#9231B5 #B55031 #54B531 #3196B5
square
#9231B5 #B55031 #54B531 #3196B5
split-complementary
#9231B5 #96B531 #31B550
monochromatic
#441755 #6B2485 #9231B5 #AF53D0 #C583DD

Accessibility & contrast

On white

6.31
#9231B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9231B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231B5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231B5#FFFFFF#000000##FFFFFF
##9231B51.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#2D62B2
Tritanopia (blue-blind)
#8F4D70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9231b5;
/* rgb */ color: rgb(146, 49, 181);
/* oklch */ color: oklch(51.5% 0.205 315.4);
Tailwind
colors: {
  custom: {
    50: '#b672cc',
    500: '#9231b5',
    950: '#000000',
  },
}
SCSS
$custom: #9231b5;
$custom-light: #b672cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9231b5",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 284.091,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51466,
    "c": 0.20512,
    "h": 315.4
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#9231B5
secondary
#8FC77B
accent
#E14770
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9231B5

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

Preview Lab → · Contrast checker → · Palette generator →

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