#9237A2#9237A2

#9237A2 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.9% C 0.180 H 321.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9237A2
RGBrgb(146, 55, 162)
HSLhsl(291, 49%, 43%)
HSVhsv(291, 66%, 64%)
CMYKcmyk(9.9%, 66%, 0%, 36.5%)
CIE-LABlab(40.33, 53.29, -40.33)
CIE-LCHlch(40.33, 66.83, 322.88°)
OKLaboklab(50.86% 0.1407 -0.1125)
OKLCHoklch(50.86% 0.18 321.4)
XYZxyz(19.7411, 11.4530, 35.3462)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237A2 #47A237
analogous
#5C37A2 #9237A2 #A2377D
triadic
#9237A2 #A29237 #37A292
tetradic
#9237A2 #A25C37 #47A237 #377DA2
square
#9237A2 #A25C37 #47A237 #377DA2
split-complementary
#9237A2 #7DA237 #37A25C
monochromatic
#401847 #692774 #9237A2 #B352C4 #C780D4

Accessibility & contrast

On white

6.38
#9237A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9237A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237A2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237A2#FFFFFF#000000##FFFFFF
##9237A21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1959A5
Deuteranopia (green-blind)
#43629F
Tritanopia (blue-blind)
#934968
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9237a2;
/* rgb */ color: rgb(146, 55, 162);
/* oklch */ color: oklch(50.9% 0.180 321.4);
Tailwind
colors: {
  custom: {
    50: '#b575be',
    500: '#9237a2',
    950: '#000000',
  },
}
SCSS
$custom: #9237a2;
$custom-light: #b575be;
$custom-dark: #000000;
JSON
{
  "hex": "#9237a2",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 291.028,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50863,
    "c": 0.18015,
    "h": 321.4
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#9237A2
secondary
#82BD78
accent
#D94F64
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #9237A2

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

Preview Lab → · Contrast checker → · Palette generator →

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