#9237BD#9237BD

#9237BD is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.6% C 0.206 H 312.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9237BD
RGBrgb(146, 55, 189)
HSLhsl(281, 55%, 48%)
HSVhsv(281, 71%, 74%)
CMYKcmyk(22.8%, 70.9%, 0%, 25.9%)
CIE-LABlab(42.03, 58.74, -53.60)
CIE-LCHlch(42.03, 79.52, 317.62°)
OKLaboklab(52.62% 0.1391 -0.1514)
OKLCHoklch(52.62% 0.206 312.6)
XYZxyz(22.4039, 12.5181, 49.3703)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237BD #62BD37
analogous
#4F37BD #9237BD #BD37A5
triadic
#9237BD #BD9237 #37BD92
tetradic
#9237BD #BD4F37 #62BD37 #37A5BD
square
#9237BD #BD4F37 #62BD37 #37A5BD
split-complementary
#9237BD #A5BD37 #37BD4F
monochromatic
#491B5E #6D298E #9237BD #AD60D1 #C590DF

Accessibility & contrast

On white

5.99
#9237BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9237BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237BD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237BD#FFFFFF#000000##FFFFFF
##9237BD1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#2965BA
Tritanopia (blue-blind)
#8D5476
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9237bd;
/* rgb */ color: rgb(146, 55, 189);
/* oklch */ color: oklch(52.6% 0.206 312.6);
Tailwind
colors: {
  custom: {
    50: '#b676d2',
    500: '#9237bd',
    950: '#000000',
  },
}
SCSS
$custom: #9237bd;
$custom-light: #b676d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9237bd",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 280.746,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5262,
    "c": 0.20555,
    "h": 312.6
  },
  "luminance": 0.12517
}

Semantic roles & 50–950 ramp

primary
#9237BD
secondary
#9CC986
accent
#DE4A79
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9237BD

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

Preview Lab → · Contrast checker → · Palette generator →

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