#9237C0#9237C0

#9237C0 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.208 H 311.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9237C0
RGBrgb(146, 55, 192)
HSLhsl(280, 55%, 48%)
HSVhsv(280, 71%, 75%)
CMYKcmyk(24%, 71.4%, 0%, 24.7%)
CIE-LABlab(42.23, 59.37, -55.03)
CIE-LCHlch(42.23, 80.95, 317.17°)
OKLaboklab(52.83% 0.1387 -0.1555)
OKLCHoklch(52.83% 0.208 311.7)
XYZxyz(22.7329, 12.6497, 51.1031)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237C0 #65C037
analogous
#4D37C0 #9237C0 #C037A9
triadic
#9237C0 #C09237 #37C092
tetradic
#9237C0 #C04D37 #65C037 #37A9C0
square
#9237C0 #C04D37 #65C037 #37A9C0
split-complementary
#9237C0 #A9C037 #37C04D
monochromatic
#4A1C61 #6E2990 #9237C0 #AC62D2 #C692E0

Accessibility & contrast

On white

5.95
#9237C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9237C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237C0
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237C0#FFFFFF#000000##FFFFFF
##9237C01.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#2565BD
Tritanopia (blue-blind)
#8C5578
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9237c0;
/* rgb */ color: rgb(146, 55, 192);
/* oklch */ color: oklch(52.8% 0.208 311.7);
Tailwind
colors: {
  custom: {
    50: '#b676d4',
    500: '#9237c0',
    950: '#000000',
  },
}
SCSS
$custom: #9237c0;
$custom-light: #b676d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9237c0",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 279.854,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.20841,
    "h": 311.7
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#9237C0
secondary
#9ECB88
accent
#DF497B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9237C0

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

Preview Lab → · Contrast checker → · Palette generator →

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