#9123A6#9123A6

#9123A6 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.206 H 320.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9123A6
RGBrgb(145, 35, 166)
HSLhsl(290, 65%, 39%)
HSVhsv(290, 79%, 65%)
CMYKcmyk(12.7%, 78.9%, 0%, 34.9%)
CIE-LABlab(37.80, 61.28, -46.79)
CIE-LCHlch(37.80, 77.10, 322.64°)
OKLaboklab(49.1% 0.1592 -0.1313)
OKLCHoklch(49.1% 0.206 320.5)
XYZxyz(19.1602, 9.9760, 36.9853)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9123A6 #38A623
analogous
#5023A6 #9123A6 #A62379
triadic
#9123A6 #A69123 #23A691
tetradic
#9123A6 #A65023 #38A623 #2379A6
square
#9123A6 #A65023 #38A623 #2379A6
split-complementary
#9123A6 #79A623 #23A650
monochromatic
#390E41 #651873 #9123A6 #BA32D4 #CB65DF

Accessibility & contrast

On white

7.01
#9123A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9123A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9123A6
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9123A6#FFFFFF#000000##FFFFFF
##9123A61.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#325DA3
Tritanopia (blue-blind)
#923F65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9123a6;
/* rgb */ color: rgb(145, 35, 166);
/* oklch */ color: oklch(49.1% 0.206 320.5);
Tailwind
colors: {
  custom: {
    50: '#b56cc1',
    500: '#9123a6',
    950: '#000000',
  },
}
SCSS
$custom: #9123a6;
$custom-light: #b56cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9123a6",
  "rgb": {
    "r": 145,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 290.382,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49102,
    "c": 0.20634,
    "h": 320.5
  },
  "luminance": 0.09975
}

Semantic roles & 50–950 ramp

primary
#9123A6
secondary
#71C461
accent
#E8405B
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9123A6

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

Preview Lab → · Contrast checker → · Palette generator →

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