#9237B0#9237B0

#9237B0 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.7% C 0.193 H 316.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9237B0
RGBrgb(146, 55, 176)
HSLhsl(285, 52%, 45%)
HSVhsv(285, 69%, 69%)
CMYKcmyk(17%, 68.8%, 0%, 31%)
CIE-LABlab(41.18, 56.06, -47.31)
CIE-LCHlch(41.18, 73.35, 319.84°)
OKLaboklab(51.75% 0.1403 -0.1329)
OKLCHoklch(51.75% 0.193 316.5)
XYZxyz(21.0555, 11.9788, 42.2689)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237B0 #55B037
analogous
#5537B0 #9237B0 #B03791
triadic
#9237B0 #B09237 #37B092
tetradic
#9237B0 #B05537 #55B037 #3791B0
square
#9237B0 #B05537 #55B037 #3791B0
split-complementary
#9237B0 #91B037 #37B055
monochromatic
#451A53 #6B2881 #9237B0 #AF59CB #C588DA

Accessibility & contrast

On white

6.18
#9237B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9237B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237B0
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237B0#FFFFFF#000000##FFFFFF
##9237B01.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#3864AD
Tritanopia (blue-blind)
#904E6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9237b0;
/* rgb */ color: rgb(146, 55, 176);
/* oklch */ color: oklch(51.7% 0.193 316.5);
Tailwind
colors: {
  custom: {
    50: '#b675c8',
    500: '#9237b0',
    950: '#000000',
  },
}
SCSS
$custom: #9237b0;
$custom-light: #b675c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9237b0",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 285.124,
    "s": 52.381,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.19321,
    "h": 316.5
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#9237B0
secondary
#90C47F
accent
#DC4C70
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9237B0

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

Preview Lab → · Contrast checker → · Palette generator →

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