#9123A5#9123A5

#9123A5 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.206 H 320.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9123A5
RGBrgb(145, 35, 165)
HSLhsl(291, 65%, 39%)
HSVhsv(291, 79%, 65%)
CMYKcmyk(12.1%, 78.8%, 0%, 35.3%)
CIE-LABlab(37.73, 61.10, -46.29)
CIE-LCHlch(37.73, 76.65, 322.85°)
OKLaboklab(49.03% 0.1593 -0.1298)
OKLCHoklch(49.03% 0.206 320.8)
XYZxyz(19.0688, 9.9395, 36.5041)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9123A5 #37A523
analogous
#5023A5 #9123A5 #A52378
triadic
#9123A5 #A59123 #23A591
tetradic
#9123A5 #A55023 #37A523 #2378A5
square
#9123A5 #A55023 #37A523 #2378A5
split-complementary
#9123A5 #78A523 #23A550
monochromatic
#380E40 #651873 #9123A5 #BB32D3 #CB64DE

Accessibility & contrast

On white

7.03
#9123A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9123A5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9123A5#FFFFFF#000000##FFFFFF
##9123A51.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#335DA2
Tritanopia (blue-blind)
#923F64
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9123a5;
/* rgb */ color: rgb(145, 35, 165);
/* oklch */ color: oklch(49.0% 0.206 320.8);
Tailwind
colors: {
  custom: {
    50: '#b56cc0',
    500: '#9123a5',
    950: '#000000',
  },
}
SCSS
$custom: #9123a5;
$custom-light: #b56cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9123a5",
  "rgb": {
    "r": 145,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 290.769,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49034,
    "c": 0.20551,
    "h": 320.8
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#9123A5
secondary
#70C460
accent
#E8405A
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9123A5

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

Preview Lab → · Contrast checker → · Palette generator →

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