#9236CA#9236CA

#9236CA is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.219 H 309.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9236CA
RGBrgb(146, 54, 202)
HSLhsl(277, 58%, 50%)
HSVhsv(277, 73%, 79%)
CMYKcmyk(27.7%, 73.3%, 0%, 20.8%)
CIE-LABlab(42.78, 61.91, -59.95)
CIE-LCHlch(42.78, 86.18, 315.92°)
OKLaboklab(53.44% 0.1382 -0.17)
OKLCHoklch(53.44% 0.219 309.1)
XYZxyz(23.8317, 13.0140, 57.1222)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9236CA #6ECA36
analogous
#4836CA #9236CA #CA36B8
triadic
#9236CA #CA9236 #36CA92
tetradic
#9236CA #CA4836 #6ECA36 #36B8CA
square
#9236CA #CA4836 #6ECA36 #36B8CA
split-complementary
#9236CA #B8CA36 #36CA48
monochromatic
#4C1C6A #6F299A #9236CA #AC66D7 #C797E4

Accessibility & contrast

On white

5.83
#9236CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9236CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9236CA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9236CA#FFFFFF#000000##FFFFFF
##9236CA1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0966C7
Tritanopia (blue-blind)
#8A597D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9236ca;
/* rgb */ color: rgb(146, 54, 202);
/* oklch */ color: oklch(53.4% 0.219 309.1);
Tailwind
colors: {
  custom: {
    50: '#b776db',
    500: '#9236ca',
    950: '#000000',
  },
}
SCSS
$custom: #9236ca;
$custom-light: #b776db;
$custom-dark: #000000;
JSON
{
  "hex": "#9236ca",
  "rgb": {
    "r": 146,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 277.297,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53441,
    "c": 0.21909,
    "h": 309.1
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#9236CA
secondary
#A6CF8D
accent
#E14681
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9236CA

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

Preview Lab → · Contrast checker → · Palette generator →

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