#9237AF#9237AF

#9237AF is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.192 H 316.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9237AF
RGBrgb(146, 55, 175)
HSLhsl(286, 52%, 45%)
HSVhsv(286, 69%, 69%)
CMYKcmyk(16.6%, 68.6%, 0%, 31.4%)
CIE-LABlab(41.12, 55.86, -46.82)
CIE-LCHlch(41.12, 72.88, 320.03°)
OKLaboklab(51.68% 0.1403 -0.1314)
OKLCHoklch(51.68% 0.192 316.9)
XYZxyz(20.9570, 11.9394, 41.7497)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237AF #54AF37
analogous
#5637AF #9237AF #AF3790
triadic
#9237AF #AF9237 #37AF92
tetradic
#9237AF #AF5637 #54AF37 #3790AF
square
#9237AF #AF5637 #54AF37 #3790AF
split-complementary
#9237AF #90AF37 #37AF56
monochromatic
#441A52 #6B2880 #9237AF #AF59CB #C587D9

Accessibility & contrast

On white

6.20
#9237AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9237AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237AF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237AF#FFFFFF#000000##FFFFFF
##9237AF1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3964AC
Tritanopia (blue-blind)
#914E6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9237af;
/* rgb */ color: rgb(146, 55, 175);
/* oklch */ color: oklch(51.7% 0.192 316.9);
Tailwind
colors: {
  custom: {
    50: '#b575c7',
    500: '#9237af',
    950: '#000000',
  },
}
SCSS
$custom: #9237af;
$custom-light: #b575c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9237af",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 285.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51681,
    "c": 0.19227,
    "h": 316.9
  },
  "luminance": 0.11939
}

Semantic roles & 50–950 ramp

primary
#9237AF
secondary
#8FC37F
accent
#DC4C6F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9237AF

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

Preview Lab → · Contrast checker → · Palette generator →

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