#9237CC#9237CC

#9237CC is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.220 H 308.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9237CC
RGBrgb(146, 55, 204)
HSLhsl(277, 59%, 51%)
HSVhsv(277, 73%, 80%)
CMYKcmyk(28.4%, 73%, 0%, 20%)
CIE-LABlab(43.07, 61.94, -60.65)
CIE-LCHlch(43.07, 86.69, 315.60°)
OKLaboklab(53.69% 0.1369 -0.1721)
OKLCHoklch(53.69% 0.22 308.5)
XYZxyz(24.1171, 13.2034, 58.3931)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237CC #71CC37
analogous
#4737CC #9237CC #CC37BC
triadic
#9237CC #CC9237 #37CC92
tetradic
#9237CC #CC4737 #71CC37 #37BCCC
square
#9237CC #CC4737 #71CC37 #37BCCC
split-complementary
#9237CC #BCCC37 #37CC47
monochromatic
#4D1C6D #70289E #9237CC #AD68D8 #C799E5

Accessibility & contrast

On white

5.77
#9237CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9237CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237CC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237CC#FFFFFF#000000##FFFFFF
##9237CC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0367C9
Tritanopia (blue-blind)
#895A7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9237cc;
/* rgb */ color: rgb(146, 55, 204);
/* oklch */ color: oklch(53.7% 0.220 308.5);
Tailwind
colors: {
  custom: {
    50: '#b776dc',
    500: '#9237cc',
    950: '#000000',
  },
}
SCSS
$custom: #9237cc;
$custom-light: #b776dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9237cc",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 276.644,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53687,
    "c": 0.2199,
    "h": 308.5
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#9237CC
secondary
#A8D08E
accent
#E34582
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9237CC

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

Preview Lab → · Contrast checker → · Palette generator →

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