#9237CE#9237CE

#9237CE is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.222 H 308.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9237CE
RGBrgb(146, 55, 206)
HSLhsl(276, 61%, 51%)
HSVhsv(276, 73%, 81%)
CMYKcmyk(29.1%, 73.3%, 0%, 19.2%)
CIE-LABlab(43.21, 62.37, -61.57)
CIE-LCHlch(43.21, 87.64, 315.37°)
OKLaboklab(53.83% 0.1366 -0.1748)
OKLCHoklch(53.83% 0.222 308)
XYZxyz(24.3585, 13.3000, 59.6645)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237CE #73CE37
analogous
#4637CE #9237CE #CE37BE
triadic
#9237CE #CE9237 #37CE92
tetradic
#9237CE #CE4637 #73CE37 #37BECE
square
#9237CE #CE4637 #73CE37 #37BECE
split-complementary
#9237CE #BECE37 #37CE46
monochromatic
#4E1B6F #7027A0 #9237CE #AD68DA #C899E6

Accessibility & contrast

On white

5.74
#9237CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9237CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237CE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237CE#FFFFFF#000000##FFFFFF
##9237CE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#885B80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9237ce;
/* rgb */ color: rgb(146, 55, 206);
/* oklch */ color: oklch(53.8% 0.222 308.0);
Tailwind
colors: {
  custom: {
    50: '#b776de',
    500: '#9237ce',
    950: '#000000',
  },
}
SCSS
$custom: #9237ce;
$custom-light: #b776de;
$custom-dark: #000000;
JSON
{
  "hex": "#9237ce",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 206
  },
  "hsl": {
    "h": 276.159,
    "s": 60.643,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.22181,
    "h": 308
  },
  "luminance": 0.133
}

Semantic roles & 50–950 ramp

primary
#9237CE
secondary
#AAD28F
accent
#E44484
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9237CE

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

Preview Lab → · Contrast checker → · Palette generator →

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