#9237BF#9237BF

#9237BF is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.207 H 312.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9237BF
RGBrgb(146, 55, 191)
HSLhsl(280, 55%, 48%)
HSVhsv(280, 71%, 75%)
CMYKcmyk(23.6%, 71.2%, 0%, 25.1%)
CIE-LABlab(42.16, 59.16, -54.55)
CIE-LCHlch(42.16, 80.48, 317.32°)
OKLaboklab(52.76% 0.1388 -0.1541)
OKLCHoklch(52.76% 0.207 312)
XYZxyz(22.6225, 12.6056, 50.5215)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237BF #64BF37
analogous
#4E37BF #9237BF #BF37A8
triadic
#9237BF #BF9237 #37BF92
tetradic
#9237BF #BF4E37 #64BF37 #37A8BF
square
#9237BF #BF4E37 #64BF37 #37A8BF
split-complementary
#9237BF #A8BF37 #37BF4E
monochromatic
#491C60 #6E298F #9237BF #AD62D2 #C591DF

Accessibility & contrast

On white

5.96
#9237BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9237BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237BF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237BF#FFFFFF#000000##FFFFFF
##9237BF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#2665BC
Tritanopia (blue-blind)
#8D5577
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9237bf;
/* rgb */ color: rgb(146, 55, 191);
/* oklch */ color: oklch(52.8% 0.207 312.0);
Tailwind
colors: {
  custom: {
    50: '#b676d3',
    500: '#9237bf',
    950: '#000000',
  },
}
SCSS
$custom: #9237bf;
$custom-light: #b676d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9237bf",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 280.147,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52759,
    "c": 0.20746,
    "h": 312
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#9237BF
secondary
#9ECA88
accent
#DF497B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9237BF

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

Preview Lab → · Contrast checker → · Palette generator →

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