#912CA3#912CA3

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

Color values

HEX#912CA3
RGBrgb(145, 44, 163)
HSLhsl(291, 57%, 41%)
HSVhsv(291, 73%, 64%)
CMYKcmyk(11%, 73%, 0%, 36.1%)
CIE-LABlab(38.67, 57.68, -43.60)
CIE-LCHlch(38.67, 72.30, 322.92°)
OKLaboklab(49.66% 0.1514 -0.122)
OKLCHoklch(49.66% 0.194 321.1)
XYZxyz(19.1878, 10.4665, 35.6528)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CA3 #3EA32C
analogous
#552CA3 #912CA3 #A32C7A
triadic
#912CA3 #A3912C #2CA391
tetradic
#912CA3 #A3552C #3EA32C #2C7AA3
square
#912CA3 #A3552C #3EA32C #2C7AA3
split-complementary
#912CA3 #7AA32C #2CA355
monochromatic
#3B1243 #661F73 #912CA3 #B741CC #C971D9

Accessibility & contrast

On white

6.79
#912CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #912CA3
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912CA3#FFFFFF#000000##FFFFFF
##912CA31.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#3A5FA0
Tritanopia (blue-blind)
#924365
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #912ca3;
/* rgb */ color: rgb(145, 44, 163);
/* oklch */ color: oklch(49.7% 0.194 321.1);
Tailwind
colors: {
  custom: {
    50: '#b56fbf',
    500: '#912ca3',
    950: '#000000',
  },
}
SCSS
$custom: #912ca3;
$custom-light: #b56fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#912ca3",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 290.924,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49656,
    "c": 0.19441,
    "h": 321.1
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#912CA3
secondary
#78C06B
accent
#E1475E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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