#9231BF#9231BF

#9231BF is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.214 H 312.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9231BF
RGBrgb(146, 49, 191)
HSLhsl(281, 59%, 47%)
HSVhsv(281, 74%, 75%)
CMYKcmyk(23.6%, 74.3%, 0%, 25.1%)
CIE-LABlab(41.33, 61.54, -55.90)
CIE-LCHlch(41.33, 83.14, 317.75°)
OKLaboklab(52.16% 0.1447 -0.1581)
OKLCHoklch(52.16% 0.214 312.5)
XYZxyz(22.3546, 12.0699, 50.4322)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231BF #5EBF31
analogous
#4B31BF #9231BF #BF31A5
triadic
#9231BF #BF9231 #31BF92
tetradic
#9231BF #BF4B31 #5EBF31 #31A5BF
square
#9231BF #BF4B31 #5EBF31 #31A5BF
split-complementary
#9231BF #A5BF31 #31BF4B
monochromatic
#48185E #6D258E #9231BF #AD59D4 #C58AE1

Accessibility & contrast

On white

6.15
#9231BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9231BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231BF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231BF#FFFFFF#000000##FFFFFF
##9231BF1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#1E63BC
Tritanopia (blue-blind)
#8D5176
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9231bf;
/* rgb */ color: rgb(146, 49, 191);
/* oklch */ color: oklch(52.2% 0.214 312.5);
Tailwind
colors: {
  custom: {
    50: '#b673d3',
    500: '#9231bf',
    950: '#000000',
  },
}
SCSS
$custom: #9231bf;
$custom-light: #b673d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9231bf",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 280.986,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52165,
    "c": 0.21427,
    "h": 312.5
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

primary
#9231BF
secondary
#98CB81
accent
#E24577
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9231BF

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

Preview Lab → · Contrast checker → · Palette generator →

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