#9237C3#9237C3

#9237C3 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.211 H 310.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9237C3
RGBrgb(146, 55, 195)
HSLhsl(279, 56%, 49%)
HSVhsv(279, 72%, 76%)
CMYKcmyk(25.1%, 71.8%, 0%, 23.5%)
CIE-LABlab(42.44, 60.01, -56.45)
CIE-LCHlch(42.44, 82.39, 316.75°)
OKLaboklab(53.04% 0.1383 -0.1597)
OKLCHoklch(53.04% 0.211 310.9)
XYZxyz(23.0687, 12.7840, 52.8715)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237C3 #68C337
analogous
#4C37C3 #9237C3 #C337AE
triadic
#9237C3 #C39237 #37C392
tetradic
#9237C3 #C34C37 #68C337 #37AEC3
square
#9237C3 #C34C37 #68C337 #37AEC3
split-complementary
#9237C3 #AEC337 #37C34C
monochromatic
#4B1C64 #6E2A93 #9237C3 #AC64D3 #C694E1

Accessibility & contrast

On white

5.90
#9237C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9237C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237C3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237C3#FFFFFF#000000##FFFFFF
##9237C31.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#1F66C0
Tritanopia (blue-blind)
#8C567A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9237c3;
/* rgb */ color: rgb(146, 55, 195);
/* oklch */ color: oklch(53.0% 0.211 310.9);
Tailwind
colors: {
  custom: {
    50: '#b676d6',
    500: '#9237c3',
    950: '#000000',
  },
}
SCSS
$custom: #9237c3;
$custom-light: #b676d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9237c3",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 279,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53039,
    "c": 0.21127,
    "h": 310.9
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#9237C3
secondary
#A1CC8A
accent
#DF497D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9237C3

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

Preview Lab → · Contrast checker → · Palette generator →

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