#9236CC#9236CC

#9236CC is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.6% C 0.221 H 308.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9236CC
RGBrgb(146, 54, 204)
HSLhsl(277, 60%, 51%)
HSVhsv(277, 74%, 80%)
CMYKcmyk(28.4%, 73.5%, 0%, 20%)
CIE-LABlab(42.93, 62.34, -60.88)
CIE-LCHlch(42.93, 87.13, 315.68°)
OKLaboklab(53.59% 0.1379 -0.1727)
OKLCHoklch(53.59% 0.221 308.6)
XYZxyz(24.0701, 13.1094, 58.3774)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9236CC #70CC36
analogous
#4736CC #9236CC #CC36BB
triadic
#9236CC #CC9236 #36CC92
tetradic
#9236CC #CC4736 #70CC36 #36BBCC
square
#9236CC #CC4736 #70CC36 #36BBCC
split-complementary
#9236CC #BBCC36 #36CC47
monochromatic
#4D1B6C #70289D #9236CC #AC67D8 #C798E5

Accessibility & contrast

On white

5.80
#9236CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9236CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9236CC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9236CC#FFFFFF#000000##FFFFFF
##9236CC1.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)
#0062D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#89597E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9236cc;
/* rgb */ color: rgb(146, 54, 204);
/* oklch */ color: oklch(53.6% 0.221 308.6);
Tailwind
colors: {
  custom: {
    50: '#b776dc',
    500: '#9236cc',
    950: '#000000',
  },
}
SCSS
$custom: #9236cc;
$custom-light: #b776dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9236cc",
  "rgb": {
    "r": 146,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 276.8,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53588,
    "c": 0.221,
    "h": 308.6
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#9236CC
secondary
#A7D08E
accent
#E34582
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9236CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9236CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva