#9230A2#9230A2

#9230A2 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.189 H 321.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9230A2
RGBrgb(146, 48, 162)
HSLhsl(292, 54%, 41%)
HSVhsv(292, 70%, 64%)
CMYKcmyk(9.9%, 70.4%, 0%, 36.5%)
CIE-LABlab(39.30, 56.19, -41.97)
CIE-LCHlch(39.30, 70.14, 323.24°)
OKLaboklab(50.12% 0.1485 -0.1172)
OKLCHoklch(50.12% 0.189 321.7)
XYZxyz(19.4319, 10.8346, 35.2432)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9230A2 #40A230
analogous
#5930A2 #9230A2 #A23079
triadic
#9230A2 #A29230 #30A292
tetradic
#9230A2 #A25930 #40A230 #3079A2
square
#9230A2 #A25930 #40A230 #3079A2
split-complementary
#9230A2 #79A230 #30A259
monochromatic
#3D1444 #672273 #9230A2 #B647C8 #C976D6

Accessibility & contrast

On white

6.63
#9230A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9230A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9230A2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9230A2#FFFFFF#000000##FFFFFF
##9230A21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0356A5
Deuteranopia (green-blind)
#3E609F
Tritanopia (blue-blind)
#944466
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9230a2;
/* rgb */ color: rgb(146, 48, 162);
/* oklch */ color: oklch(50.1% 0.189 321.7);
Tailwind
colors: {
  custom: {
    50: '#b571be',
    500: '#9230a2',
    950: '#000000',
  },
}
SCSS
$custom: #9230a2;
$custom-light: #b571be;
$custom-dark: #000000;
JSON
{
  "hex": "#9230a2",
  "rgb": {
    "r": 146,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 291.579,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5012,
    "c": 0.18922,
    "h": 321.7
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#9230A2
secondary
#7ABE6F
accent
#DE4A5F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9230A2

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

Preview Lab → · Contrast checker → · Palette generator →

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