#9237C1#9237C1

#9237C1 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.209 H 311.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9237C1
RGBrgb(146, 55, 193)
HSLhsl(280, 56%, 49%)
HSVhsv(280, 72%, 76%)
CMYKcmyk(24.4%, 71.5%, 0%, 24.3%)
CIE-LABlab(42.30, 59.58, -55.50)
CIE-LCHlch(42.30, 81.43, 317.03°)
OKLaboklab(52.9% 0.1386 -0.1569)
OKLCHoklch(52.9% 0.209 311.4)
XYZxyz(22.8441, 12.6942, 51.6886)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237C1 #66C137
analogous
#4D37C1 #9237C1 #C137AB
triadic
#9237C1 #C19237 #37C192
tetradic
#9237C1 #C14D37 #66C137 #37ABC1
square
#9237C1 #C14D37 #66C137 #37ABC1
split-complementary
#9237C1 #ABC137 #37C14D
monochromatic
#4A1C62 #6E2991 #9237C1 #AC63D2 #C692E0

Accessibility & contrast

On white

5.93
#9237C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9237C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237C1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237C1#FFFFFF#000000##FFFFFF
##9237C11.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#2365BE
Tritanopia (blue-blind)
#8C5579
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9237c1;
/* rgb */ color: rgb(146, 55, 193);
/* oklch */ color: oklch(52.9% 0.209 311.4);
Tailwind
colors: {
  custom: {
    50: '#b676d4',
    500: '#9237c1',
    950: '#000000',
  },
}
SCSS
$custom: #9237c1;
$custom-light: #b676d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9237c1",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 279.565,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.20936,
    "h": 311.4
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#9237C1
secondary
#9FCB89
accent
#DF497C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9237C1

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

Preview Lab → · Contrast checker → · Palette generator →

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