#9237C2#9237C2

#9237C2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.210 H 311.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9237C2
RGBrgb(146, 55, 194)
HSLhsl(279, 56%, 49%)
HSVhsv(279, 72%, 76%)
CMYKcmyk(24.7%, 71.6%, 0%, 23.9%)
CIE-LABlab(42.37, 59.80, -55.98)
CIE-LCHlch(42.37, 81.91, 316.89°)
OKLaboklab(52.97% 0.1385 -0.1583)
OKLCHoklch(52.97% 0.21 311.2)
XYZxyz(22.9560, 12.7390, 52.2781)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237C2 #67C237
analogous
#4D37C2 #9237C2 #C237AD
triadic
#9237C2 #C29237 #37C292
tetradic
#9237C2 #C24D37 #67C237 #37ADC2
square
#9237C2 #C24D37 #67C237 #37ADC2
split-complementary
#9237C2 #ADC237 #37C24D
monochromatic
#4A1C63 #6E2992 #9237C2 #AC63D3 #C693E0

Accessibility & contrast

On white

5.92
#9237C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9237C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237C2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237C2#FFFFFF#000000##FFFFFF
##9237C21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#2166BF
Tritanopia (blue-blind)
#8C5679
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9237c2;
/* rgb */ color: rgb(146, 55, 194);
/* oklch */ color: oklch(53.0% 0.210 311.2);
Tailwind
colors: {
  custom: {
    50: '#b676d5',
    500: '#9237c2',
    950: '#000000',
  },
}
SCSS
$custom: #9237c2;
$custom-light: #b676d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9237c2",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 279.281,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52969,
    "c": 0.21032,
    "h": 311.2
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9237C2

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

Preview Lab → · Contrast checker → · Palette generator →

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