#912CA2#912CA2

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

Color values

HEX#912CA2
RGBrgb(145, 44, 162)
HSLhsl(291, 57%, 40%)
HSVhsv(291, 73%, 64%)
CMYKcmyk(10.5%, 72.8%, 0%, 36.5%)
CIE-LABlab(38.60, 57.49, -43.10)
CIE-LCHlch(38.60, 71.85, 323.15°)
OKLaboklab(49.59% 0.1514 -0.1205)
OKLCHoklch(49.59% 0.194 321.5)
XYZxyz(19.0986, 10.4308, 35.1828)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CA2 #3DA22C
analogous
#562CA2 #912CA2 #A22C78
triadic
#912CA2 #A2912C #2CA291
tetradic
#912CA2 #A2562C #3DA22C #2C78A2
square
#912CA2 #A2562C #3DA22C #2C78A2
split-complementary
#912CA2 #78A22C #2CA256
monochromatic
#3B1242 #661F72 #912CA2 #B740CB #C970D8

Accessibility & contrast

On white

6.80
#912CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#912CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912CA2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912CA2#FFFFFF#000000##FFFFFF
##912CA21.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#3B5F9F
Tritanopia (blue-blind)
#924264
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #912ca2;
/* rgb */ color: rgb(145, 44, 162);
/* oklch */ color: oklch(49.6% 0.194 321.5);
Tailwind
colors: {
  custom: {
    50: '#b56fbe',
    500: '#912ca2',
    950: '#000000',
  },
}
SCSS
$custom: #912ca2;
$custom-light: #b56fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#912ca2",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 291.356,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49592,
    "c": 0.19354,
    "h": 321.5
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#912CA2
secondary
#77BF6A
accent
#E1475D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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