#9237C6#9237C6

#9237C6 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.214 H 310.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9237C6
RGBrgb(146, 55, 198)
HSLhsl(278, 57%, 50%)
HSVhsv(278, 72%, 78%)
CMYKcmyk(26.3%, 72.2%, 0%, 22.4%)
CIE-LABlab(42.64, 60.65, -57.86)
CIE-LCHlch(42.64, 83.82, 316.35°)
OKLaboklab(53.25% 0.1379 -0.1638)
OKLCHoklch(53.25% 0.214 310.1)
XYZxyz(23.4113, 12.9211, 54.6759)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237C6 #6BC637
analogous
#4B37C6 #9237C6 #C637B3
triadic
#9237C6 #C69237 #37C692
tetradic
#9237C6 #C64B37 #6BC637 #37B3C6
square
#9237C6 #C64B37 #6BC637 #37B3C6
split-complementary
#9237C6 #B3C637 #37C64B
monochromatic
#4B1C66 #6F2A96 #9237C6 #AC66D4 #C696E2

Accessibility & contrast

On white

5.86
#9237C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9237C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237C6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237C6#FFFFFF#000000##FFFFFF
##9237C61.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#1966C3
Tritanopia (blue-blind)
#8B577B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9237c6;
/* rgb */ color: rgb(146, 55, 198);
/* oklch */ color: oklch(53.3% 0.214 310.1);
Tailwind
colors: {
  custom: {
    50: '#b776d8',
    500: '#9237c6',
    950: '#000000',
  },
}
SCSS
$custom: #9237c6;
$custom-light: #b776d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9237c6",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 278.182,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53253,
    "c": 0.21414,
    "h": 310.1
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#9237C6
secondary
#A3CD8C
accent
#E0487F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #9237C6

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

Preview Lab → · Contrast checker → · Palette generator →

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