#9237CA#9237CA

#9237CA is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.218 H 309.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9237CA
RGBrgb(146, 55, 202)
HSLhsl(277, 58%, 50%)
HSVhsv(277, 73%, 79%)
CMYKcmyk(27.7%, 72.8%, 0%, 20.8%)
CIE-LABlab(42.93, 61.51, -59.72)
CIE-LCHlch(42.93, 85.73, 315.84°)
OKLaboklab(53.54% 0.1373 -0.1693)
OKLCHoklch(53.54% 0.218 309)
XYZxyz(23.8788, 13.1081, 57.1379)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9237CA #6FCA37
analogous
#4837CA #9237CA #CA37B8
triadic
#9237CA #CA9237 #37CA92
tetradic
#9237CA #CA4837 #6FCA37 #37B8CA
square
#9237CA #CA4837 #6FCA37 #37B8CA
split-complementary
#9237CA #B8CA37 #37CA48
monochromatic
#4D1C6A #6F299B #9237CA #AC67D7 #C798E4

Accessibility & contrast

On white

5.80
#9237CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9237CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9237CA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9237CA#FFFFFF#000000##FFFFFF
##9237CA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0C66C7
Tritanopia (blue-blind)
#8A597E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9237ca;
/* rgb */ color: rgb(146, 55, 202);
/* oklch */ color: oklch(53.5% 0.218 309.0);
Tailwind
colors: {
  custom: {
    50: '#b776db',
    500: '#9237ca',
    950: '#000000',
  },
}
SCSS
$custom: #9237ca;
$custom-light: #b776db;
$custom-dark: #000000;
JSON
{
  "hex": "#9237ca",
  "rgb": {
    "r": 146,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 277.143,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53541,
    "c": 0.21797,
    "h": 309
  },
  "luminance": 0.13108
}

Semantic roles & 50–950 ramp

primary
#9237CA
secondary
#A7CF8E
accent
#E14681
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9237CA

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

Preview Lab → · Contrast checker → · Palette generator →

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