#9236CB#9236CB

#9236CB is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.220 H 308.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9236CB
RGBrgb(146, 54, 203)
HSLhsl(277, 59%, 50%)
HSVhsv(277, 73%, 80%)
CMYKcmyk(28.1%, 73.4%, 0%, 20.4%)
CIE-LABlab(42.86, 62.12, -60.42)
CIE-LCHlch(42.86, 86.66, 315.80°)
OKLaboklab(53.52% 0.138 -0.1714)
OKLCHoklch(53.52% 0.22 308.9)
XYZxyz(23.9505, 13.0615, 57.7478)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9236CB #6FCB36
analogous
#4736CB #9236CB #CB36B9
triadic
#9236CB #CB9236 #36CB92
tetradic
#9236CB #CB4736 #6FCB36 #36B9CB
square
#9236CB #CB4736 #6FCB36 #36B9CB
split-complementary
#9236CB #B9CB36 #36CB47
monochromatic
#4D1C6B #6F289C #9236CB #AC67D8 #C797E4

Accessibility & contrast

On white

5.81
#9236CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9236CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9236CB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9236CB#FFFFFF#000000##FFFFFF
##9236CB1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0466C8
Tritanopia (blue-blind)
#89597E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9236cb;
/* rgb */ color: rgb(146, 54, 203);
/* oklch */ color: oklch(53.5% 0.220 308.9);
Tailwind
colors: {
  custom: {
    50: '#b776dc',
    500: '#9236cb',
    950: '#000000',
  },
}
SCSS
$custom: #9236cb;
$custom-light: #b776dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9236cb",
  "rgb": {
    "r": 146,
    "g": 54,
    "b": 203
  },
  "hsl": {
    "h": 277.047,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53515,
    "c": 0.22004,
    "h": 308.9
  },
  "luminance": 0.13061
}

Semantic roles & 50–950 ramp

primary
#9236CB
secondary
#A7D08D
accent
#E24682
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9236CB

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

Preview Lab → · Contrast checker → · Palette generator →

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