#9230AB#9230AB

#9230AB is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.197 H 318.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9230AB
RGBrgb(146, 48, 171)
HSLhsl(288, 56%, 43%)
HSVhsv(288, 72%, 67%)
CMYKcmyk(14.6%, 71.9%, 0%, 32.9%)
CIE-LABlab(39.86, 57.91, -46.46)
CIE-LCHlch(39.86, 74.25, 321.26°)
OKLaboklab(50.7% 0.148 -0.1304)
OKLCHoklch(50.7% 0.197 318.6)
XYZxyz(20.2607, 11.1661, 39.6082)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9230AB #49AB30
analogous
#5530AB #9230AB #AB3086
triadic
#9230AB #AB9230 #30AB92
tetradic
#9230AB #AB5530 #49AB30 #3086AB
square
#9230AB #AB5530 #49AB30 #3086AB
split-complementary
#9230AB #86AB30 #30AB55
monochromatic
#40154B #69237B #9230AB #B24CCD #C77BDA

Accessibility & contrast

On white

6.50
#9230AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9230AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9230AB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9230AB#FFFFFF#000000##FFFFFF
##9230AB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3761A8
Tritanopia (blue-blind)
#92486A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9230ab;
/* rgb */ color: rgb(146, 48, 171);
/* oklch */ color: oklch(50.7% 0.197 318.6);
Tailwind
colors: {
  custom: {
    50: '#b672c5',
    500: '#9230ab',
    950: '#000000',
  },
}
SCSS
$custom: #9230ab;
$custom-light: #b672c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9230ab",
  "rgb": {
    "r": 146,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 287.805,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.19722,
    "h": 318.6
  },
  "luminance": 0.11165
}

Semantic roles & 50–950 ramp

primary
#9230AB
secondary
#84C374
accent
#DF4867
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9230AB

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

Preview Lab → · Contrast checker → · Palette generator →

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