#9237C8#9237C8

#9237C8 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.216 H 309.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9237C8
RGBrgb(146, 55, 200)
HSLhsl(278, 57%, 50%)
HSVhsv(278, 73%, 78%)
CMYKcmyk(27%, 72.5%, 0%, 21.6%)
CIE-LABlab(42.78, 61.08, -58.79)
CIE-LCHlch(42.78, 84.77, 316.09°)
OKLaboklab(53.4% 0.1376 -0.1666)
OKLCHoklch(53.4% 0.216 309.6)
XYZxyz(23.6435, 13.0140, 55.8988)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237C8 #6DC837
analogous
#4937C8 #9237C8 #C837B6
triadic
#9237C8 #C89237 #37C892
tetradic
#9237C8 #C84937 #6DC837 #37B6C8
square
#9237C8 #C84937 #6DC837 #37B6C8
split-complementary
#9237C8 #B6C837 #37C849
monochromatic
#4C1D68 #6F2A98 #9237C8 #AC67D5 #C697E2

Accessibility & contrast

On white

5.83
#9237C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9237C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237C8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237C8#FFFFFF#000000##FFFFFF
##9237C81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#1466C5
Tritanopia (blue-blind)
#8A587C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9237c8;
/* rgb */ color: rgb(146, 55, 200);
/* oklch */ color: oklch(53.4% 0.216 309.6);
Tailwind
colors: {
  custom: {
    50: '#b776da',
    500: '#9237c8',
    950: '#000000',
  },
}
SCSS
$custom: #9237c8;
$custom-light: #b776da;
$custom-dark: #000000;
JSON
{
  "hex": "#9237c8",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 277.655,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.53397,
    "c": 0.21606,
    "h": 309.6
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

primary
#9237C8
secondary
#A5CE8D
accent
#E04880
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9237C8

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

Preview Lab → · Contrast checker → · Palette generator →

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