#912BA2#912BA2

#912BA2 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.195 H 321.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#912BA2
RGBrgb(145, 43, 162)
HSLhsl(291, 58%, 40%)
HSVhsv(291, 73%, 64%)
CMYKcmyk(10.5%, 73.5%, 0%, 36.5%)
CIE-LABlab(38.48, 57.86, -43.30)
CIE-LCHlch(38.48, 72.27, 323.19°)
OKLaboklab(49.5% 0.1524 -0.1211)
OKLCHoklch(49.5% 0.195 321.5)
XYZxyz(19.0618, 10.3572, 35.1705)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912BA2 #3CA22B
analogous
#562BA2 #912BA2 #A22B77
triadic
#912BA2 #A2912B #2BA291
tetradic
#912BA2 #A2562B #3CA22B #2B77A2
square
#912BA2 #A2562B #3CA22B #2B77A2
split-complementary
#912BA2 #77A22B #2BA256
monochromatic
#3A1141 #661E72 #912BA2 #B83ECC #CA6FD9

Accessibility & contrast

On white

6.84
#912BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#912BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912BA2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912BA2#FFFFFF#000000##FFFFFF
##912BA21.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#3A5E9F
Tritanopia (blue-blind)
#924164
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #912ba2;
/* rgb */ color: rgb(145, 43, 162);
/* oklch */ color: oklch(49.5% 0.195 321.5);
Tailwind
colors: {
  custom: {
    50: '#b56fbe',
    500: '#912ba2',
    950: '#000000',
  },
}
SCSS
$custom: #912ba2;
$custom-light: #b56fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#912ba2",
  "rgb": {
    "r": 145,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 291.429,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.495,
    "c": 0.19468,
    "h": 321.5
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#912BA2
secondary
#75C069
accent
#E1475D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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