#9235AB#9235AB

#9235AB is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.191 H 318.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9235AB
RGBrgb(146, 53, 171)
HSLhsl(287, 53%, 44%)
HSVhsv(287, 69%, 67%)
CMYKcmyk(14.6%, 69%, 0%, 32.9%)
CIE-LABlab(40.57, 55.90, -45.32)
CIE-LCHlch(40.57, 71.97, 320.97°)
OKLaboklab(51.21% 0.1427 -0.1271)
OKLCHoklch(51.21% 0.191 318.3)
XYZxyz(20.4768, 11.5984, 39.6803)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235AB #4EAB35
analogous
#5735AB #9235AB #AB3589
triadic
#9235AB #AB9235 #35AB92
tetradic
#9235AB #AB5735 #4EAB35 #3589AB
square
#9235AB #AB5735 #4EAB35 #3589AB
split-complementary
#9235AB #89AB35 #35AB57
monochromatic
#42184E #6A277C #9235AB #B153CA #C682D8

Accessibility & contrast

On white

6.33
#9235AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9235AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235AB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235AB#FFFFFF#000000##FFFFFF
##9235AB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#3B63A8
Tritanopia (blue-blind)
#924B6C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9235ab;
/* rgb */ color: rgb(146, 53, 171);
/* oklch */ color: oklch(51.2% 0.191 318.3);
Tailwind
colors: {
  custom: {
    50: '#b574c5',
    500: '#9235ab',
    950: '#000000',
  },
}
SCSS
$custom: #9235ab;
$custom-light: #b574c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9235ab",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 287.288,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51207,
    "c": 0.19109,
    "h": 318.3
  },
  "luminance": 0.11597
}

Semantic roles & 50–950 ramp

primary
#9235AB
secondary
#89C27A
accent
#DC4C6A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9235AB

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

Preview Lab → · Contrast checker → · Palette generator →

#9235AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva