#9126AE#9126AE

#9126AE is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.210 H 317.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9126AE
RGBrgb(145, 38, 174)
HSLhsl(287, 64%, 42%)
HSVhsv(287, 78%, 68%)
CMYKcmyk(16.7%, 78.2%, 0%, 31.8%)
CIE-LABlab(38.66, 61.83, -50.18)
CIE-LCHlch(38.66, 79.64, 320.94°)
OKLaboklab(49.88% 0.1557 -0.1412)
OKLCHoklch(49.88% 0.21 317.8)
XYZxyz(20.0091, 10.4629, 41.0018)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9126AE #43AE26
analogous
#4D26AE #9126AE #AE2687
triadic
#9126AE #AE9126 #26AE91
tetradic
#9126AE #AE4D26 #43AE26 #2687AE
square
#9126AE #AE4D26 #43AE26 #2687AE
split-complementary
#9126AE #87AE26 #26AE4D
monochromatic
#3D104A #671B7C #9126AE #B43DD5 #C86FE0

Accessibility & contrast

On white

6.79
#9126AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9126AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9126AE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9126AE#FFFFFF#000000##FFFFFF
##9126AE1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#2B5EAB
Tritanopia (blue-blind)
#90446A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9126ae;
/* rgb */ color: rgb(145, 38, 174);
/* oklch */ color: oklch(49.9% 0.210 317.8);
Tailwind
colors: {
  custom: {
    50: '#b56dc7',
    500: '#9126ae',
    950: '#000000',
  },
}
SCSS
$custom: #9126ae;
$custom-light: #b56dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9126ae",
  "rgb": {
    "r": 145,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 287.206,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.21019,
    "h": 317.8
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#9126AE
secondary
#7DC66A
accent
#E74164
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9126AE

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

Preview Lab → · Contrast checker → · Palette generator →

#9126AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva