#912CA4#912CA4

#912CA4 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.195 H 320.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#912CA4
RGBrgb(145, 44, 164)
HSLhsl(291, 58%, 41%)
HSVhsv(291, 73%, 64%)
CMYKcmyk(11.6%, 73.2%, 0%, 35.7%)
CIE-LABlab(38.73, 57.87, -44.10)
CIE-LCHlch(38.73, 72.75, 322.69°)
OKLaboklab(49.72% 0.1513 -0.1234)
OKLCHoklch(49.72% 0.195 320.8)
XYZxyz(19.2778, 10.5025, 36.1265)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CA4 #3FA42C
analogous
#552CA4 #912CA4 #A42C7B
triadic
#912CA4 #A4912C #2CA491
tetradic
#912CA4 #A4552C #3FA42C #2C7BA4
square
#912CA4 #A4552C #3FA42C #2C7BA4
split-complementary
#912CA4 #7BA42C #2CA455
monochromatic
#3C1243 #661F74 #912CA4 #B641CC #C971D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##912CA4#FFFFFF#000000##FFFFFF
##912CA41.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)
#0054A7
Deuteranopia (green-blind)
#395FA1
Tritanopia (blue-blind)
#924366
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #912ca4;
/* rgb */ color: rgb(145, 44, 164);
/* oklch */ color: oklch(49.7% 0.195 320.8);
Tailwind
colors: {
  custom: {
    50: '#b56fbf',
    500: '#912ca4',
    950: '#000000',
  },
}
SCSS
$custom: #912ca4;
$custom-light: #b56fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#912ca4",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 290.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49721,
    "c": 0.19527,
    "h": 320.8
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#912CA4
secondary
#79C06B
accent
#E1475F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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