#9237E5#9237E5

#9237E5 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.6% C 0.244 H 302.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9237E5
RGBrgb(146, 55, 229)
HSLhsl(271, 77%, 56%)
HSVhsv(271, 76%, 90%)
CMYKcmyk(36.2%, 76%, 0%, 10.2%)
CIE-LABlab(44.94, 67.45, -71.93)
CIE-LCHlch(44.94, 98.61, 313.16°)
OKLaboklab(55.59% 0.1318 -0.2052)
OKLCHoklch(55.59% 0.244 302.7)
XYZxyz(27.3597, 14.5005, 75.4710)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237E5 #8AE537
analogous
#3B37E5 #9237E5 #E537E1
triadic
#9237E5 #E59237 #37E592
tetradic
#9237E5 #E53B37 #8AE537 #37E1E5
square
#9237E5 #E53B37 #8AE537 #37E1E5
split-complementary
#9237E5 #E1E537 #37E53B
monochromatic
#54138F #731AC5 #9237E5 #B06DEC #CDA3F3

Accessibility & contrast

On white

5.38
#9237E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9237E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237E5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237E5#FFFFFF#000000##FFFFFF
##9237E51.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EA
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#81648D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9237e5;
/* rgb */ color: rgb(146, 55, 229);
/* oklch */ color: oklch(55.6% 0.244 302.7);
Tailwind
colors: {
  custom: {
    50: '#b977ee',
    500: '#9237e5',
    950: '#000000',
  },
}
SCSS
$custom: #9237e5;
$custom-light: #b977ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9237e5",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 229
  },
  "hsl": {
    "h": 271.379,
    "s": 76.991,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55593,
    "c": 0.24387,
    "h": 302.7
  },
  "luminance": 0.14501
}

Semantic roles & 50–950 ramp

primary
#9237E5
secondary
#BAE098
accent
#F43490
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120917
muted
#817B85

Preview Lab

Preview with #9237E5

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

Preview Lab → · Contrast checker → · Palette generator →

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