#9237D9#9237D9

#9237D9 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.7% C 0.232 H 305.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9237D9
RGBrgb(146, 55, 217)
HSLhsl(274, 68%, 53%)
HSVhsv(274, 75%, 85%)
CMYKcmyk(32.7%, 74.7%, 0%, 14.9%)
CIE-LABlab(44.02, 64.78, -66.58)
CIE-LCHlch(44.02, 92.90, 314.21°)
OKLaboklab(54.66% 0.1345 -0.1895)
OKLCHoklch(54.66% 0.232 305.4)
XYZxyz(25.7418, 13.8533, 66.9500)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237D9 #7ED937
analogous
#4137D9 #9237D9 #D937CF
triadic
#9237D9 #D99237 #37D992
tetradic
#9237D9 #D94137 #7ED937 #37CFD9
square
#9237D9 #D94137 #7ED937 #37CFD9
split-complementary
#9237D9 #CFD937 #37D941
monochromatic
#51187E #7222B1 #9237D9 #AE6AE3 #CA9EED

Accessibility & contrast

On white

5.57
#9237D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9237D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237D9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237D9#FFFFFF#000000##FFFFFF
##9237D91.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#855F86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9237d9;
/* rgb */ color: rgb(146, 55, 217);
/* oklch */ color: oklch(54.7% 0.232 305.4);
Tailwind
colors: {
  custom: {
    50: '#b877e6',
    500: '#9237d9',
    950: '#000000',
  },
}
SCSS
$custom: #9237d9;
$custom-light: #b877e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9237d9",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 217
  },
  "hsl": {
    "h": 273.704,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.23236,
    "h": 305.4
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#9237D9
secondary
#B2D993
accent
#EB3D89
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9237D9

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

Preview Lab → · Contrast checker → · Palette generator →

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