#9236C8#9236C8

#9236C8 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.217 H 309.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9236C8
RGBrgb(146, 54, 200)
HSLhsl(278, 57%, 50%)
HSVhsv(278, 73%, 78%)
CMYKcmyk(27%, 73%, 0%, 21.6%)
CIE-LABlab(42.64, 61.48, -59.02)
CIE-LCHlch(42.64, 85.23, 316.17°)
OKLaboklab(53.3% 0.1385 -0.1673)
OKLCHoklch(53.3% 0.217 309.6)
XYZxyz(23.5965, 12.9199, 55.8831)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9236C8 #6CC836
analogous
#4936C8 #9236C8 #C836B5
triadic
#9236C8 #C89236 #36C892
tetradic
#9236C8 #C84936 #6CC836 #36B5C8
square
#9236C8 #C84936 #6CC836 #36B5C8
split-complementary
#9236C8 #B5C836 #36C849
monochromatic
#4C1C68 #6F2998 #9236C8 #AC66D6 #C696E3

Accessibility & contrast

On white

5.86
#9236C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9236C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9236C8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9236C8#FFFFFF#000000##FFFFFF
##9236C81.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9236c8;
/* rgb */ color: rgb(146, 54, 200);
/* oklch */ color: oklch(53.3% 0.217 309.6);
Tailwind
colors: {
  custom: {
    50: '#b776da',
    500: '#9236c8',
    950: '#000000',
  },
}
SCSS
$custom: #9236c8;
$custom-light: #b776da;
$custom-dark: #000000;
JSON
{
  "hex": "#9236c8",
  "rgb": {
    "r": 146,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 277.808,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53296,
    "c": 0.21718,
    "h": 309.6
  },
  "luminance": 0.12919
}

Semantic roles & 50–950 ramp

primary
#9236C8
secondary
#A4CE8C
accent
#E14780
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9236C8

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

Preview Lab → · Contrast checker → · Palette generator →

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