#9235AC#9235AC

#9235AC is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.192 H 318.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9235AC
RGBrgb(146, 53, 172)
HSLhsl(287, 53%, 44%)
HSVhsv(287, 69%, 67%)
CMYKcmyk(15.1%, 69.2%, 0%, 32.5%)
CIE-LABlab(40.63, 56.10, -45.82)
CIE-LCHlch(40.63, 72.43, 320.76°)
OKLaboklab(51.27% 0.1427 -0.1285)
OKLCHoklch(51.27% 0.192 318)
XYZxyz(20.5725, 11.6366, 40.1842)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235AC #4FAC35
analogous
#5735AC #9235AC #AC358B
triadic
#9235AC #AC9235 #35AC92
tetradic
#9235AC #AC5735 #4FAC35 #358BAC
square
#9235AC #AC5735 #4FAC35 #358BAC
split-complementary
#9235AC #8BAC35 #35AC57
monochromatic
#43184E #6A277D #9235AC #B054CA #C683D9

Accessibility & contrast

On white

6.31
#9235AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9235AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235AC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235AC#FFFFFF#000000##FFFFFF
##9235AC1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#3A63A9
Tritanopia (blue-blind)
#914C6C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9235ac;
/* rgb */ color: rgb(146, 53, 172);
/* oklch */ color: oklch(51.3% 0.192 318.0);
Tailwind
colors: {
  custom: {
    50: '#b574c5',
    500: '#9235ac',
    950: '#000000',
  },
}
SCSS
$custom: #9235ac;
$custom-light: #b574c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9235ac",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 286.891,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51272,
    "c": 0.19201,
    "h": 318
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#9235AC
secondary
#8AC27B
accent
#DC4C6B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9235AC

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

Preview Lab → · Contrast checker → · Palette generator →

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