#9236D9#9236D9

#9236D9 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.6% C 0.233 H 305.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9236D9
RGBrgb(146, 54, 217)
HSLhsl(274, 68%, 53%)
HSVhsv(274, 75%, 85%)
CMYKcmyk(32.7%, 75.1%, 0%, 14.9%)
CIE-LABlab(43.89, 65.17, -66.81)
CIE-LCHlch(43.89, 93.33, 314.29°)
OKLaboklab(54.56% 0.1353 -0.1901)
OKLCHoklch(54.56% 0.233 305.4)
XYZxyz(25.6948, 13.7593, 66.9343)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9236D9 #7DD936
analogous
#4036D9 #9236D9 #D936CE
triadic
#9236D9 #D99236 #36D992
tetradic
#9236D9 #D94036 #7DD936 #36CED9
square
#9236D9 #D94036 #7DD936 #36CED9
split-complementary
#9236D9 #CED936 #36D940
monochromatic
#51187D #7221B0 #9236D9 #AE69E3 #CA9DEC

Accessibility & contrast

On white

5.60
#9236D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9236D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9236D9
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9236D9#FFFFFF#000000##FFFFFF
##9236D91.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9236d9;
/* rgb */ color: rgb(146, 54, 217);
/* oklch */ color: oklch(54.6% 0.233 305.4);
Tailwind
colors: {
  custom: {
    50: '#b876e6',
    500: '#9236d9',
    950: '#000000',
  },
}
SCSS
$custom: #9236d9;
$custom-light: #b876e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9236d9",
  "rgb": {
    "r": 146,
    "g": 54,
    "b": 217
  },
  "hsl": {
    "h": 273.865,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.23339,
    "h": 305.4
  },
  "luminance": 0.13759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9236D9

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

Preview Lab → · Contrast checker → · Palette generator →

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