#9126AF#9126AF

#9126AF is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.211 H 317.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9126AF
RGBrgb(145, 38, 175)
HSLhsl(287, 64%, 42%)
HSVhsv(287, 78%, 69%)
CMYKcmyk(17.1%, 78.3%, 0%, 31.4%)
CIE-LABlab(38.73, 62.02, -50.67)
CIE-LCHlch(38.73, 80.09, 320.75°)
OKLaboklab(49.95% 0.1555 -0.1427)
OKLCHoklch(49.95% 0.211 317.5)
XYZxyz(20.1069, 10.5020, 41.5171)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9126AF #44AF26
analogous
#4C26AF #9126AF #AF2689
triadic
#9126AF #AF9126 #26AF91
tetradic
#9126AF #AF4C26 #44AF26 #2689AF
square
#9126AF #AF4C26 #44AF26 #2689AF
split-complementary
#9126AF #89AF26 #26AF4C
monochromatic
#3E104A #671B7D #9126AF #B43DD5 #C770E0

Accessibility & contrast

On white

6.77
#9126AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9126AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9126AF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9126AF#FFFFFF#000000##FFFFFF
##9126AF1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#2A5EAC
Tritanopia (blue-blind)
#90456A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9126af;
/* rgb */ color: rgb(145, 38, 175);
/* oklch */ color: oklch(50.0% 0.211 317.5);
Tailwind
colors: {
  custom: {
    50: '#b66dc8',
    500: '#9126af',
    950: '#000000',
  },
}
SCSS
$custom: #9126af;
$custom-light: #b66dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9126af",
  "rgb": {
    "r": 145,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 286.861,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4995,
    "c": 0.21104,
    "h": 317.5
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#9126AF
secondary
#7EC76A
accent
#E74065
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9126AF

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

Preview Lab → · Contrast checker → · Palette generator →

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