#9237C5#9237C5

#9237C5 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.213 H 310.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9237C5
RGBrgb(146, 55, 197)
HSLhsl(278, 56%, 49%)
HSVhsv(278, 72%, 77%)
CMYKcmyk(25.9%, 72.1%, 0%, 22.7%)
CIE-LABlab(42.57, 60.43, -57.39)
CIE-LCHlch(42.57, 83.34, 316.48°)
OKLaboklab(53.18% 0.138 -0.1625)
OKLCHoklch(53.18% 0.213 310.4)
XYZxyz(23.2963, 12.8751, 54.0704)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237C5 #6AC537
analogous
#4B37C5 #9237C5 #C537B1
triadic
#9237C5 #C59237 #37C592
tetradic
#9237C5 #C54B37 #6AC537 #37B1C5
square
#9237C5 #C54B37 #6AC537 #37B1C5
split-complementary
#9237C5 #B1C537 #37C54B
monochromatic
#4B1C65 #6F2A95 #9237C5 #AC65D4 #C695E1

Accessibility & contrast

On white

5.87
#9237C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9237C5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237C5#FFFFFF#000000##FFFFFF
##9237C51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#1B66C2
Tritanopia (blue-blind)
#8B577B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9237c5;
/* rgb */ color: rgb(146, 55, 197);
/* oklch */ color: oklch(53.2% 0.213 310.4);
Tailwind
colors: {
  custom: {
    50: '#b776d7',
    500: '#9237c5',
    950: '#000000',
  },
}
SCSS
$custom: #9237c5;
$custom-light: #b776d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9237c5",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 278.451,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53182,
    "c": 0.21319,
    "h": 310.4
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#9237C5
secondary
#A3CD8B
accent
#E0487F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9237C5

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

Preview Lab → · Contrast checker → · Palette generator →

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