#9231B7#9231B7

#9231B7 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.207 H 314.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9231B7
RGBrgb(146, 49, 183)
HSLhsl(283, 58%, 45%)
HSVhsv(283, 73%, 72%)
CMYKcmyk(20.2%, 73.2%, 0%, 28.2%)
CIE-LABlab(40.78, 59.90, -52.09)
CIE-LCHlch(40.78, 79.38, 318.99°)
OKLaboklab(51.6% 0.1458 -0.1469)
OKLCHoklch(51.6% 0.207 314.8)
XYZxyz(21.4982, 11.7273, 45.9217)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231B7 #56B731
analogous
#4F31B7 #9231B7 #B73199
triadic
#9231B7 #B79231 #31B792
tetradic
#9231B7 #B74F31 #56B731 #3199B7
square
#9231B7 #B74F31 #56B731 #3199B7
split-complementary
#9231B7 #99B731 #31B74F
monochromatic
#451756 #6B2487 #9231B7 #AF54D1 #C584DE

Accessibility & contrast

On white

6.28
#9231B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9231B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231B7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231B7#FFFFFF#000000##FFFFFF
##9231B71.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#2B63B4
Tritanopia (blue-blind)
#8F4E71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9231b7;
/* rgb */ color: rgb(146, 49, 183);
/* oklch */ color: oklch(51.6% 0.207 314.8);
Tailwind
colors: {
  custom: {
    50: '#b673cd',
    500: '#9231b7',
    950: '#000000',
  },
}
SCSS
$custom: #9231b7;
$custom-light: #b673cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9231b7",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 283.433,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51604,
    "c": 0.20694,
    "h": 314.8
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#9231B7
secondary
#91C87C
accent
#E14771
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9231B7

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

Preview Lab → · Contrast checker → · Palette generator →

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