#9231BC#9231BC

#9231BC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.212 H 313.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9231BC
RGBrgb(146, 49, 188)
HSLhsl(282, 59%, 46%)
HSVhsv(282, 74%, 74%)
CMYKcmyk(22.3%, 73.9%, 0%, 26.3%)
CIE-LABlab(41.12, 60.92, -54.48)
CIE-LCHlch(41.12, 81.73, 318.19°)
OKLaboklab(51.95% 0.1451 -0.1539)
OKLCHoklch(51.95% 0.212 313.3)
XYZxyz(22.0279, 11.9391, 48.7113)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231BC #5BBC31
analogous
#4D31BC #9231BC #BC31A1
triadic
#9231BC #BC9231 #31BC92
tetradic
#9231BC #BC4D31 #5BBC31 #31A1BC
square
#9231BC #BC4D31 #5BBC31 #31A1BC
split-complementary
#9231BC #A1BC31 #31BC4D
monochromatic
#47185B #6C248B #9231BC #AE57D3 #C588E0

Accessibility & contrast

On white

6.20
#9231BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9231BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231BC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231BC#FFFFFF#000000##FFFFFF
##9231BC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#8E5074
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9231bc;
/* rgb */ color: rgb(146, 49, 188);
/* oklch */ color: oklch(52.0% 0.212 313.3);
Tailwind
colors: {
  custom: {
    50: '#b673d1',
    500: '#9231bc',
    950: '#000000',
  },
}
SCSS
$custom: #9231bc;
$custom-light: #b673d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9231bc",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 281.871,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51953,
    "c": 0.21151,
    "h": 313.3
  },
  "luminance": 0.11938
}

Semantic roles & 50–950 ramp

primary
#9231BC
secondary
#96CA7F
accent
#E24675
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9231BC

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

Preview Lab → · Contrast checker → · Palette generator →

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