#9236CD#9236CD

#9236CD is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.222 H 308.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9236CD
RGBrgb(146, 54, 205)
HSLhsl(277, 60%, 51%)
HSVhsv(277, 74%, 80%)
CMYKcmyk(28.8%, 73.7%, 0%, 19.6%)
CIE-LABlab(43.00, 62.55, -61.34)
CIE-LCHlch(43.00, 87.61, 315.56°)
OKLaboklab(53.66% 0.1377 -0.1741)
OKLCHoklch(53.66% 0.222 308.3)
XYZxyz(24.1904, 13.1575, 59.0111)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9236CD #71CD36
analogous
#4636CD #9236CD #CD36BC
triadic
#9236CD #CD9236 #36CD92
tetradic
#9236CD #CD4636 #71CD36 #36BCCD
square
#9236CD #CD4636 #71CD36 #36BCCD
split-complementary
#9236CD #BCCD36 #36CD46
monochromatic
#4D1B6D #70279E #9236CD #AD67D9 #C798E5

Accessibility & contrast

On white

5.78
#9236CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9236CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9236CD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9236CD#FFFFFF#000000##FFFFFF
##9236CD1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#895A7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9236cd;
/* rgb */ color: rgb(146, 54, 205);
/* oklch */ color: oklch(53.7% 0.222 308.3);
Tailwind
colors: {
  custom: {
    50: '#b776dd',
    500: '#9236cd',
    950: '#000000',
  },
}
SCSS
$custom: #9236cd;
$custom-light: #b776dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9236cd",
  "rgb": {
    "r": 146,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 276.556,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.22195,
    "h": 308.3
  },
  "luminance": 0.13157
}

Semantic roles & 50–950 ramp

primary
#9236CD
secondary
#A8D18E
accent
#E34483
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9236CD

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

Preview Lab → · Contrast checker → · Palette generator →

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