#912EAC#912EAC

#912EAC is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.4% C 0.200 H 318.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#912EAC
RGBrgb(145, 46, 172)
HSLhsl(287, 58%, 43%)
HSVhsv(287, 73%, 67%)
CMYKcmyk(15.7%, 73.3%, 0%, 32.5%)
CIE-LABlab(39.50, 58.66, -47.64)
CIE-LCHlch(39.50, 75.57, 320.92°)
OKLaboklab(50.43% 0.1487 -0.1338)
OKLCHoklch(50.43% 0.2 318)
XYZxyz(20.0994, 10.9532, 40.0772)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EAC #49AC2E
analogous
#522EAC #912EAC #AC2E88
triadic
#912EAC #AC912E #2EAC91
tetradic
#912EAC #AC522E #49AC2E #2E88AC
square
#912EAC #AC522E #49AC2E #2E88AC
split-complementary
#912EAC #88AC2E #2EAC52
monochromatic
#40144B #68217C #912EAC #B249CE #C679DB

Accessibility & contrast

On white

6.58
#912EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#912EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EAC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EAC#FFFFFF#000000##FFFFFF
##912EAC1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#3360A9
Tritanopia (blue-blind)
#90486B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #912eac;
/* rgb */ color: rgb(145, 46, 172);
/* oklch */ color: oklch(50.4% 0.200 318.0);
Tailwind
colors: {
  custom: {
    50: '#b571c5',
    500: '#912eac',
    950: '#000000',
  },
}
SCSS
$custom: #912eac;
$custom-light: #b571c5;
$custom-dark: #000000;
JSON
{
  "hex": "#912eac",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 287.143,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50434,
    "c": 0.20003,
    "h": 318
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#912EAC
secondary
#84C372
accent
#E14768
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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