#9236C2#9236C2

#9236C2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.9% C 0.211 H 311.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9236C2
RGBrgb(146, 54, 194)
HSLhsl(279, 56%, 49%)
HSVhsv(279, 72%, 76%)
CMYKcmyk(24.7%, 72.2%, 0%, 23.9%)
CIE-LABlab(42.22, 60.20, -56.21)
CIE-LCHlch(42.22, 82.36, 316.97°)
OKLaboklab(52.87% 0.1394 -0.159)
OKLCHoklch(52.87% 0.211 311.3)
XYZxyz(22.9090, 12.6449, 52.2624)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9236C2 #66C236
analogous
#4C36C2 #9236C2 #C236AC
triadic
#9236C2 #C29236 #36C292
tetradic
#9236C2 #C24C36 #66C236 #36ACC2
square
#9236C2 #C24C36 #66C236 #36ACC2
split-complementary
#9236C2 #ACC236 #36C24C
monochromatic
#4A1B62 #6E2992 #9236C2 #AC62D3 #C692E1

Accessibility & contrast

On white

5.95
#9236C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9236C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9236C2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9236C2#FFFFFF#000000##FFFFFF
##9236C21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2065BF
Tritanopia (blue-blind)
#8C5579
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9236c2;
/* rgb */ color: rgb(146, 54, 194);
/* oklch */ color: oklch(52.9% 0.211 311.3);
Tailwind
colors: {
  custom: {
    50: '#b675d5',
    500: '#9236c2',
    950: '#000000',
  },
}
SCSS
$custom: #9236c2;
$custom-light: #b675d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9236c2",
  "rgb": {
    "r": 146,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 279.429,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52867,
    "c": 0.21148,
    "h": 311.3
  },
  "luminance": 0.12644
}

Semantic roles & 50–950 ramp

primary
#9236C2
secondary
#9FCC88
accent
#E0487C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9236C2

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

Preview Lab → · Contrast checker → · Palette generator →

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