#9128A2#9128A2

#9128A2 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.198 H 321.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9128A2
RGBrgb(145, 40, 162)
HSLhsl(292, 60%, 40%)
HSVhsv(292, 75%, 64%)
CMYKcmyk(10.5%, 75.3%, 0%, 36.5%)
CIE-LABlab(38.10, 58.92, -43.90)
CIE-LCHlch(38.10, 73.47, 323.31°)
OKLaboklab(49.24% 0.1553 -0.1228)
OKLCHoklch(49.24% 0.198 321.7)
XYZxyz(18.9567, 10.1470, 35.1355)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128A2 #39A228
analogous
#5428A2 #9128A2 #A22876
triadic
#9128A2 #A29128 #28A291
tetradic
#9128A2 #A25428 #39A228 #2876A2
square
#9128A2 #A25428 #39A228 #2876A2
split-complementary
#9128A2 #76A228 #28A254
monochromatic
#391040 #651C71 #9128A2 #B939CE #CB6ADA

Accessibility & contrast

On white

6.93
#9128A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9128A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9128A2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9128A2#FFFFFF#000000##FFFFFF
##9128A21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#385E9F
Tritanopia (blue-blind)
#924063
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9128a2;
/* rgb */ color: rgb(145, 40, 162);
/* oklch */ color: oklch(49.2% 0.198 321.7);
Tailwind
colors: {
  custom: {
    50: '#b56ebe',
    500: '#9128a2',
    950: '#000000',
  },
}
SCSS
$custom: #9128a2;
$custom-light: #b56ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9128a2",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 291.639,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49236,
    "c": 0.19798,
    "h": 321.7
  },
  "luminance": 0.10146
}

Semantic roles & 50–950 ramp

primary
#9128A2
secondary
#72C165
accent
#E4445A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9128A2

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

Preview Lab → · Contrast checker → · Palette generator →

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