#9231B2#9231B2

#9231B2 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.202 H 316.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9231B2
RGBrgb(146, 49, 178)
HSLhsl(285, 57%, 45%)
HSVhsv(285, 72%, 70%)
CMYKcmyk(18%, 72.5%, 0%, 30.2%)
CIE-LABlab(40.45, 58.90, -49.67)
CIE-LCHlch(40.45, 77.05, 319.86°)
OKLaboklab(51.26% 0.1464 -0.1398)
OKLCHoklch(51.26% 0.202 316.3)
XYZxyz(20.9870, 11.5228, 43.2295)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231B2 #51B231
analogous
#5131B2 #9231B2 #B23192
triadic
#9231B2 #B29231 #31B292
tetradic
#9231B2 #B25131 #51B231 #3192B2
square
#9231B2 #B25131 #51B231 #3192B2
split-complementary
#9231B2 #92B231 #31B251
monochromatic
#431752 #6B2482 #9231B2 #B051CF #C681DC

Accessibility & contrast

On white

6.36
#9231B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9231B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231B2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231B2#FFFFFF#000000##FFFFFF
##9231B21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#3162AF
Tritanopia (blue-blind)
#904C6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9231b2;
/* rgb */ color: rgb(146, 49, 178);
/* oklch */ color: oklch(51.3% 0.202 316.3);
Tailwind
colors: {
  custom: {
    50: '#b672ca',
    500: '#9231b2',
    950: '#000000',
  },
}
SCSS
$custom: #9231b2;
$custom-light: #b672ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9231b2",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 285.116,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51262,
    "c": 0.20238,
    "h": 316.3
  },
  "luminance": 0.11522
}

Semantic roles & 50–950 ramp

primary
#9231B2
secondary
#8CC579
accent
#E0486E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9231B2

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

Preview Lab → · Contrast checker → · Palette generator →

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