#9237C4#9237C4

#9237C4 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.1% C 0.212 H 310.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9237C4
RGBrgb(146, 55, 196)
HSLhsl(279, 56%, 49%)
HSVhsv(279, 72%, 77%)
CMYKcmyk(25.5%, 71.9%, 0%, 23.1%)
CIE-LABlab(42.51, 60.22, -56.92)
CIE-LCHlch(42.51, 82.86, 316.61°)
OKLaboklab(53.11% 0.1382 -0.1611)
OKLCHoklch(53.11% 0.212 310.6)
XYZxyz(23.1821, 12.8294, 53.4690)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237C4 #69C437
analogous
#4B37C4 #9237C4 #C437B0
triadic
#9237C4 #C49237 #37C492
tetradic
#9237C4 #C44B37 #69C437 #37B0C4
square
#9237C4 #C44B37 #69C437 #37B0C4
split-complementary
#9237C4 #B0C437 #37C44B
monochromatic
#4B1C64 #6E2A94 #9237C4 #AC65D4 #C694E1

Accessibility & contrast

On white

5.89
#9237C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9237C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237C4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237C4#FFFFFF#000000##FFFFFF
##9237C41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#1D66C1
Tritanopia (blue-blind)
#8B577A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9237c4;
/* rgb */ color: rgb(146, 55, 196);
/* oklch */ color: oklch(53.1% 0.212 310.6);
Tailwind
colors: {
  custom: {
    50: '#b676d7',
    500: '#9237c4',
    950: '#000000',
  },
}
SCSS
$custom: #9237c4;
$custom-light: #b676d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9237c4",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 278.723,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5311,
    "c": 0.21223,
    "h": 310.6
  },
  "luminance": 0.12829
}

Semantic roles & 50–950 ramp

primary
#9237C4
secondary
#A2CC8B
accent
#DF487E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9237C4

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

Preview Lab → · Contrast checker → · Palette generator →

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