#9123B2#9123B2

#9123B2 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.216 H 316.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9123B2
RGBrgb(145, 35, 178)
HSLhsl(286, 67%, 42%)
HSVhsv(286, 80%, 70%)
CMYKcmyk(18.5%, 80.3%, 0%, 30.2%)
CIE-LABlab(38.62, 63.53, -52.63)
CIE-LCHlch(38.62, 82.50, 320.36°)
OKLaboklab(49.94% 0.1574 -0.1484)
OKLCHoklch(49.94% 0.216 316.7)
XYZxyz(20.3127, 10.4370, 43.0554)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9123B2 #44B223
analogous
#4A23B2 #9123B2 #B2238C
triadic
#9123B2 #B29123 #23B291
tetradic
#9123B2 #B24A23 #44B223 #238CB2
square
#9123B2 #B24A23 #44B223 #238CB2
split-complementary
#9123B2 #8CB223 #23B24A
monochromatic
#3E0F4C #67197F #9123B2 #B43AD8 #C76DE2

Accessibility & contrast

On white

6.80
#9123B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9123B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9123B2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9123B2#FFFFFF#000000##FFFFFF
##9123B21.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#8F456B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9123b2;
/* rgb */ color: rgb(145, 35, 178);
/* oklch */ color: oklch(49.9% 0.216 316.7);
Tailwind
colors: {
  custom: {
    50: '#b66cca',
    500: '#9123b2',
    950: '#000000',
  },
}
SCSS
$custom: #9123b2;
$custom-light: #b66cca;
$custom-dark: #000000;
JSON
{
  "hex": "#9123b2",
  "rgb": {
    "r": 145,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 286.154,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49936,
    "c": 0.21633,
    "h": 316.7
  },
  "luminance": 0.10436
}

Semantic roles & 50–950 ramp

primary
#9123B2
secondary
#7EC968
accent
#EA3E66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9123B2

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

Preview Lab → · Contrast checker → · Palette generator →

#9123B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva