#9235A2#9235A2

#9235A2 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.6% C 0.183 H 321.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9235A2
RGBrgb(146, 53, 162)
HSLhsl(291, 51%, 42%)
HSVhsv(291, 67%, 64%)
CMYKcmyk(9.9%, 67.3%, 0%, 36.5%)
CIE-LABlab(40.03, 54.15, -40.82)
CIE-LCHlch(40.03, 67.81, 322.99°)
OKLaboklab(50.64% 0.143 -0.1139)
OKLCHoklch(50.64% 0.183 321.5)
XYZxyz(19.6480, 11.2669, 35.3152)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235A2 #45A235
analogous
#5C35A2 #9235A2 #A2357B
triadic
#9235A2 #A29235 #35A292
tetradic
#9235A2 #A25C35 #45A235 #357BA2
square
#9235A2 #A25C35 #45A235 #357BA2
split-complementary
#9235A2 #7BA235 #35A25C
monochromatic
#3F1746 #682674 #9235A2 #B44FC5 #C87DD4

Accessibility & contrast

On white

6.46
#9235A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9235A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235A2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235A2#FFFFFF#000000##FFFFFF
##9235A21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A5
Deuteranopia (green-blind)
#42629F
Tritanopia (blue-blind)
#934867
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9235a2;
/* rgb */ color: rgb(146, 53, 162);
/* oklch */ color: oklch(50.6% 0.183 321.5);
Tailwind
colors: {
  custom: {
    50: '#b574be',
    500: '#9235a2',
    950: '#000000',
  },
}
SCSS
$custom: #9235a2;
$custom-light: #b574be;
$custom-dark: #000000;
JSON
{
  "hex": "#9235a2",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 291.193,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50642,
    "c": 0.18283,
    "h": 321.5
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#9235A2
secondary
#80BD75
accent
#DA4E62
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9235A2

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

Preview Lab → · Contrast checker → · Palette generator →

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