#912AA8#912AA8

#912AA8 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.201 H 319.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#912AA8
RGBrgb(145, 42, 168)
HSLhsl(289, 60%, 41%)
HSVhsv(289, 75%, 66%)
CMYKcmyk(13.7%, 75%, 0%, 34.1%)
CIE-LABlab(38.73, 59.35, -46.49)
CIE-LCHlch(38.73, 75.39, 321.93°)
OKLaboklab(49.8% 0.1529 -0.1304)
OKLCHoklch(49.8% 0.201 319.5)
XYZxyz(19.5720, 10.5038, 38.0347)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912AA8 #41A82A
analogous
#522AA8 #912AA8 #A82A80
triadic
#912AA8 #A8912A #2AA891
tetradic
#912AA8 #A8522A #41A82A #2A80A8
square
#912AA8 #A8522A #41A82A #2A80A8
split-complementary
#912AA8 #80A82A #2AA852
monochromatic
#3C1246 #671E77 #912AA8 #B540CF #C871DB

Accessibility & contrast

On white

6.77
#912AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#912AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912AA8
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912AA8#FFFFFF#000000##FFFFFF
##912AA81.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)
#0054AB
Deuteranopia (green-blind)
#345FA5
Tritanopia (blue-blind)
#914467
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #912aa8;
/* rgb */ color: rgb(145, 42, 168);
/* oklch */ color: oklch(49.8% 0.201 319.5);
Tailwind
colors: {
  custom: {
    50: '#b56fc2',
    500: '#912aa8',
    950: '#000000',
  },
}
SCSS
$custom: #912aa8;
$custom-light: #b56fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#912aa8",
  "rgb": {
    "r": 145,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 289.048,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49804,
    "c": 0.20096,
    "h": 319.5
  },
  "luminance": 0.10503
}

Semantic roles & 50–950 ramp

primary
#912AA8
secondary
#7BC36B
accent
#E34562
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #912AA8

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

Preview Lab → · Contrast checker → · Palette generator →

#912AA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva