#9233AB#9233AB

#9233AB is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.194 H 318.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9233AB
RGBrgb(146, 51, 171)
HSLhsl(288, 54%, 44%)
HSVhsv(288, 70%, 67%)
CMYKcmyk(14.6%, 70.2%, 0%, 32.9%)
CIE-LABlab(40.28, 56.72, -45.79)
CIE-LCHlch(40.28, 72.90, 321.09°)
OKLaboklab(51% 0.1449 -0.1284)
OKLCHoklch(51% 0.194 318.4)
XYZxyz(20.3876, 11.4198, 39.6505)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9233AB #4CAB33
analogous
#5633AB #9233AB #AB3388
triadic
#9233AB #AB9233 #33AB92
tetradic
#9233AB #AB5633 #4CAB33 #3388AB
square
#9233AB #AB5633 #4CAB33 #3388AB
split-complementary
#9233AB #88AB33 #33AB56
monochromatic
#42174D #6A257C #9233AB #B150CB #C67FD9

Accessibility & contrast

On white

6.40
#9233AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9233AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9233AB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9233AB#FFFFFF#000000##FFFFFF
##9233AB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#3962A8
Tritanopia (blue-blind)
#924A6B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9233ab;
/* rgb */ color: rgb(146, 51, 171);
/* oklch */ color: oklch(51.0% 0.194 318.4);
Tailwind
colors: {
  custom: {
    50: '#b573c5',
    500: '#9233ab',
    950: '#000000',
  },
}
SCSS
$custom: #9233ab;
$custom-light: #b573c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9233ab",
  "rgb": {
    "r": 146,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 287.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50998,
    "c": 0.1936,
    "h": 318.4
  },
  "luminance": 0.11419
}

Semantic roles & 50–950 ramp

primary
#9233AB
secondary
#87C278
accent
#DD4A69
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9233AB

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

Preview Lab → · Contrast checker → · Palette generator →

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