#9236C7#9236C7

#9236C7 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.216 H 309.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9236C7
RGBrgb(146, 54, 199)
HSLhsl(278, 57%, 50%)
HSVhsv(278, 73%, 78%)
CMYKcmyk(26.6%, 72.9%, 0%, 22%)
CIE-LABlab(42.57, 61.27, -58.56)
CIE-LCHlch(42.57, 84.75, 316.30°)
OKLaboklab(53.22% 0.1387 -0.1659)
OKLCHoklch(53.22% 0.216 309.9)
XYZxyz(23.4800, 12.8733, 55.2697)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9236C7 #6BC736
analogous
#4A36C7 #9236C7 #C736B4
triadic
#9236C7 #C79236 #36C792
tetradic
#9236C7 #C74A36 #6BC736 #36B4C7
square
#9236C7 #C74A36 #6BC736 #36B4C7
split-complementary
#9236C7 #B4C736 #36C74A
monochromatic
#4B1C67 #6F2997 #9236C7 #AC65D5 #C695E2

Accessibility & contrast

On white

5.87
#9236C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9236C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9236C7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9236C7#FFFFFF#000000##FFFFFF
##9236C71.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#1466C4
Tritanopia (blue-blind)
#8A577C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9236c7;
/* rgb */ color: rgb(146, 54, 199);
/* oklch */ color: oklch(53.2% 0.216 309.9);
Tailwind
colors: {
  custom: {
    50: '#b776d9',
    500: '#9236c7',
    950: '#000000',
  },
}
SCSS
$custom: #9236c7;
$custom-light: #b776d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9236c7",
  "rgb": {
    "r": 146,
    "g": 54,
    "b": 199
  },
  "hsl": {
    "h": 278.069,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53224,
    "c": 0.21623,
    "h": 309.9
  },
  "luminance": 0.12873
}

Semantic roles & 50–950 ramp

primary
#9236C7
secondary
#A3CE8B
accent
#E1477F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9236C7

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

Preview Lab → · Contrast checker → · Palette generator →

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