#9231BB#9231BB

#9231BB is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.211 H 313.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9231BB
RGBrgb(146, 49, 187)
HSLhsl(282, 58%, 46%)
HSVhsv(282, 74%, 73%)
CMYKcmyk(21.9%, 73.8%, 0%, 26.7%)
CIE-LABlab(41.05, 60.72, -54.01)
CIE-LCHlch(41.05, 81.26, 318.35°)
OKLaboklab(51.88% 0.1453 -0.1525)
OKLCHoklch(51.88% 0.211 313.6)
XYZxyz(21.9205, 11.8962, 48.1456)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231BB #5ABB31
analogous
#4D31BB #9231BB #BB319F
triadic
#9231BB #BB9231 #31BB92
tetradic
#9231BB #BB4D31 #5ABB31 #319FBB
square
#9231BB #BB4D31 #5ABB31 #319FBB
split-complementary
#9231BB #9FBB31 #31BB4D
monochromatic
#46185A #6C248B #9231BB #AE56D3 #C587E0

Accessibility & contrast

On white

6.21
#9231BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9231BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231BB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231BB#FFFFFF#000000##FFFFFF
##9231BB1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#2563B8
Tritanopia (blue-blind)
#8E5074
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9231bb;
/* rgb */ color: rgb(146, 49, 187);
/* oklch */ color: oklch(51.9% 0.211 313.6);
Tailwind
colors: {
  custom: {
    50: '#b673d0',
    500: '#9231bb',
    950: '#000000',
  },
}
SCSS
$custom: #9231bb;
$custom-light: #b673d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9231bb",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 282.174,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51882,
    "c": 0.2106,
    "h": 313.6
  },
  "luminance": 0.11895
}

Semantic roles & 50–950 ramp

primary
#9231BB
secondary
#95C97F
accent
#E24674
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9231BB

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

Preview Lab → · Contrast checker → · Palette generator →

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