#9128B0#9128B0

#9128B0 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.210 H 317.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9128B0
RGBrgb(145, 40, 176)
HSLhsl(286, 63%, 42%)
HSVhsv(286, 77%, 69%)
CMYKcmyk(17.6%, 77.3%, 0%, 31%)
CIE-LABlab(39.02, 61.56, -50.79)
CIE-LCHlch(39.02, 79.81, 320.48°)
OKLaboklab(50.18% 0.1537 -0.143)
OKLCHoklch(50.18% 0.21 317.1)
XYZxyz(20.2712, 10.6728, 42.0581)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128B0 #47B028
analogous
#4D28B0 #9128B0 #B0288B
triadic
#9128B0 #B09128 #28B091
tetradic
#9128B0 #B04D28 #47B028 #288BB0
square
#9128B0 #B04D28 #47B028 #288BB0
split-complementary
#9128B0 #8BB028 #28B04D
monochromatic
#3F114C #681D7E #9128B0 #B241D4 #C773DF

Accessibility & contrast

On white

6.70
#9128B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9128B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9128B0
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9128B0#FFFFFF#000000##FFFFFF
##9128B01.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#8F466B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9128b0;
/* rgb */ color: rgb(145, 40, 176);
/* oklch */ color: oklch(50.2% 0.210 317.1);
Tailwind
colors: {
  custom: {
    50: '#b56ec8',
    500: '#9128b0',
    950: '#000000',
  },
}
SCSS
$custom: #9128b0;
$custom-light: #b56ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#9128b0",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 286.324,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5018,
    "c": 0.20994,
    "h": 317.1
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

primary
#9128B0
secondary
#82C66D
accent
#E64267
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9128B0

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

Preview Lab → · Contrast checker → · Palette generator →

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